From 55bb7e8935369cb392c705969ed626fe9c0c391c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 17 Sep 2008 01:05:14 +0000 Subject: Convert MAXINT/MININT -> INT_MAX/INT_MIN in Heretic/Hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1234 --- src/hexen/h2def.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/hexen/h2def.h') diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h index 6a4a3a89..61e0fc70 100644 --- a/src/hexen/h2def.h +++ b/src/hexen/h2def.h @@ -27,6 +27,8 @@ #include #include #include +#include + #include "st_start.h" #ifdef __WATCOMC__ #include @@ -118,16 +120,6 @@ extern byte *destview, *destscreen; // PC direct to screen pointers #define KEY_BACKSLASH 0x5C -#define MAXCHAR ((char)0x7f) -#define MAXSHORT ((short)0x7fff) -#define MAXINT ((int)0x7fffffff) /* max pos 32-bit int */ -#define MAXLONG ((long)0x7fffffff) - -#define MINCHAR ((char)0x80) -#define MINSHORT ((short)0x8000) -#define MININT ((int)0x80000000) /* max negative 32-bit integer */ -#define MINLONG ((long)0x80000000) - #define FINEANGLES 8192 #define FINEMASK (FINEANGLES-1) #define ANGLETOFINESHIFT 19 // 0x100000000 to 0x2000 -- cgit v1.2.3