projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20080802-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
types.h
diff --git
a/src/libgame/types.h
b/src/libgame/types.h
index f4d0e820847c59c9a0aef9240014d02dcf288a3f..d6f49bdd68026c47a6557575f8eb15ad2e8c1d86 100644
(file)
--- a/
src/libgame/types.h
+++ b/
src/libgame/types.h
@@
-26,11
+26,22
@@
typedef int boolean;
typedef unsigned char byte;
#endif
typedef unsigned char byte;
#endif
-#ifndef FALSE
-#define FALSE 0
-#define TRUE (!FALSE)
+#ifdef TRUE
+#undef TRUE
+#endif
+
+#ifdef FALSE
+#undef FALSE
#endif
#endif
+#ifdef AUTO
+#undef AUTO
+#endif
+
+#define TRUE 1
+#define FALSE 0
+#define AUTO -1
+
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif