ref: a854f3e246be1373200a296413b31ece296c2914
parent: c67b4c15dc32f9824951f37c9b1fa665b7d1307f
author: Simon Howard <fraggle@gmail.com>
date: Sat Dec 25 16:04:10 EST 2010
Remove the -wart parameter (thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2226
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1158,40 +1158,6 @@
// 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
--- 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