OSDN Git Service

- Moved Sqrt, FixedSqrt, and VectorLength to zspecial.acs.
[zandronum/zandronum-acc.git] / acc.c
diff --git a/acc.c b/acc.c
index fdc3b86..41f891e 100644 (file)
--- a/acc.c
+++ b/acc.c
@@ -22,7 +22,7 @@
 \r
 // MACROS ------------------------------------------------------------------\r
 \r
-#define VERSION_TEXT "1.52"\r
+#define VERSION_TEXT "1.53"\r
 #define COPYRIGHT_YEARS_TEXT "1995"\r
 \r
 // TYPES -------------------------------------------------------------------\r
@@ -205,6 +205,8 @@ static void ProcessArgs(void)
                                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
@@ -269,6 +271,7 @@ static void DisplayUsage(void)
        puts("-i [path]  Add include path to find include files");\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