Mercurial > hg > forks > yadex
changeset 81:7ed31bc85504
Cleanup remnants.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Sep 2011 17:40:20 +0300 |
parents | 2f1ecc1c5f72 |
children | 154714f3ab2e |
files | src/yadex.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 ?