summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-12-25 21:04:10 +0000
committerSimon Howard2010-12-25 21:04:10 +0000
commita854f3e246be1373200a296413b31ece296c2914 (patch)
tree5b602a5d5fbfd413a04aa24a9b351fe76924aa41
parentc67b4c15dc32f9824951f37c9b1fa665b7d1307f (diff)
downloadchocolate-doom-a854f3e246be1373200a296413b31ece296c2914.tar.gz
chocolate-doom-a854f3e246be1373200a296413b31ece296c2914.tar.bz2
chocolate-doom-a854f3e246be1373200a296413b31ece296c2914.zip
Remove the -wart parameter (thanks Sander van Dijk).
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2226
-rw-r--r--src/d_main.c34
-rw-r--r--src/dstrings.h9
2 files changed, 0 insertions, 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