# HG changeset patch # User Matti Hamalainen # Date 1317048020 -10800 # Node ID 7ed31bc85504061487e6b611fbe8a1b03efde6e7 # Parent 2f1ecc1c5f722ba1b655d6aeecb62557e2f5e1e4 Cleanup remnants. diff -r 2f1ecc1c5f72 -r 7ed31bc85504 src/yadex.h --- a/src/yadex.h Mon Sep 26 17:39:49 2011 +0300 +++ b/src/yadex.h Mon Sep 26 17:40:20 2011 +0300 @@ -302,6 +302,10 @@ // Convert map coordinates to screen/window coordinates #define SCREENX(x) (cfg.ScrCenterX + (int) (((x) - cfg.OrigX) * cfg.Scale)) #define SCREENY(y) (cfg.ScrCenterY + (int) ((cfg.OrigY - (y)) * cfg.Scale)) + +// AYM 19980213: InputIntegerValue() uses this to mean that Esc was pressed +#define IIV_CANCEL INT_MIN + enum { IWAD_DOOM1 = 0, IWAD_DOOM2, @@ -313,8 +317,10 @@ IWAD_DOOM05, IWAD_DOOMPR, IWAD_STRIFE10, + IWAD_LAST }; + typedef struct { // Defined in yadex.cc @@ -322,12 +328,6 @@ const char *install_dir; // Where yadex is installed FILE *logfile; // Filepointer to the error log -// AYM 19980213: InputIntegerValue() uses this to mean that Esc was pressed -#define IIV_CANCEL INT_MIN - - - - bool Debug; // Are we debugging? bool Registered; // Registered or shareware iwad ? int cpu_big_endian; // Am I running on a big-endian CPU ?