foxygit / doom Log in
commit a854f3e246be1373200a296413b31ece296c2914
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Dec 25 21:04:10 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Dec 25 21:04:10 2010 +0000

    Remove the -wart parameter (thanks Sander van Dijk).

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 2226
---
 src/d_main.c   | 34 ----------------------------------
 src/dstrings.h |  9 ---------
 2 files changed, 43 deletions(-)

diff --git a/src/d_main.c b/src/d_main.c
index 465ed45b..397062a9 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1158,40 +1158,6 @@ void D_DoomMain (void)
     // Debug:
 //    W_PrintDirectory();

-    // add any files specified on the command line with -file wadfile
-    // to the wad list
-    //
-    // convenience hack to allow -wart e m to add a wad file
-    // prepend a tilde to the filename so wadfile will be reloadable
-    p = M_CheckParmWithArgs("-wart", 1);
-    if (p)
-    {
-	myargv[p][4] = 'p';     // big hack, change to -warp
-
-	// Map name handling.
-	switch (gamemode )
-	{
-	  case shareware:
-	  case retail:
-	  case registered:
-	    sprintf (file,"~"DEVMAPS"E%cM%c.wad",
-		     myargv[p+1][0], myargv[p+2][0]);
-	    printf("Warping to Episode %s, Map %s.\n",
-		   myargv[p+1],myargv[p+2]);
-	    break;
-
-	  case commercial:
-	  default:
-	    p = atoi (myargv[p+1]);
-	    if (p<10)
-	      sprintf (file,"~"DEVMAPS"cdata/map0%i.wad", p);
-	    else
-	      sprintf (file,"~"DEVMAPS"cdata/map%i.wad", p);
-	    break;
-	}
-	D_AddFile (file);
-    }
-
     //!
     // @arg <demo>
     // @category demo
diff --git a/src/dstrings.h b/src/dstrings.h
index bdc6b2ce..d47fc1af 100644
--- a/src/dstrings.h
+++ b/src/dstrings.h
@@ -38,15 +38,6 @@
 #define SAVEGAMENAME	"doomsav"


-//
-// File locations,
-//  relative to current position.
-// Path names are OS-sensitive.
-//
-#define DEVMAPS "devmaps"
-#define DEVDATA "devdata"
-
-
 // QuitDOOM messages
 // 8 per each game type
 #define NUM_QUITMESSAGES   8