\r
// MACROS ------------------------------------------------------------------\r
\r
-#define VERSION_TEXT "1.46"\r
+#define VERSION_TEXT "1.53"\r
#define COPYRIGHT_YEARS_TEXT "1995"\r
\r
// TYPES -------------------------------------------------------------------\r
case 'D':\r
acs_DebugMode = YES;\r
acs_VerboseMode = YES;\r
- if((i + 1) < ArgCount)\r
+ if(*text != 0)\r
{\r
- OpenDebugFile(ArgVector[++i]);\r
+ OpenDebugFile(text);\r
}\r
break;\r
\r
case 'H':\r
pc_NoShrink = TRUE;\r
pc_HexenCase = TRUE;\r
+ pc_EnforceHexen = toupper(*text) != 'H';\r
+ pc_WarnNotHexen = toupper(*text) == 'H';\r
break;\r
\r
default:\r
{\r
DisplayUsage();\r
}\r
+\r
+ TK_AddIncludePath(".");\r
+#ifdef unix\r
+ TK_AddIncludePath("/usr/local/share/acc/");\r
+#endif\r
+ TK_AddProgramIncludePath(ArgVector[0]);\r
\r
if(count == 1)\r
{\r
{\r
puts("\nUsage: ACC [options] source[.acs] [object[.o]]\n");\r
puts("-i [path] Add include path to find include files");\r
- puts("-d [file] Output debugging information");\r
+ puts("-d[file] Output debugging information");\r
puts("-h Create pcode compatible with Hexen and old ZDooms");\r
+ puts("-hh Like -h, but use of new features is only a warning");\r
exit(1);\r
}\r
\r