]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/defs.h
Get rid of false positive warnings from cppcheck.
[quix0rs-blobwars.git] / src / defs.h
old mode 100755 (executable)
new mode 100644 (file)
index a18a110..5c59832
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -251,6 +252,7 @@ const char skill[][10] = {
 
 #define PAR_WEIGHTLESS 1
 #define PAR_COLLIDES   2
+#define PAR_LIQUID      4
 
 /* ######### effect flags ########### */
 
@@ -372,15 +374,22 @@ enum {
        PAK_SOUND,
        PAK_MUSIC,
        PAK_DATA,
-       PAK_FONT
+       PAK_FONT,
+       PAK_TAGS
 };
 
+/* ######### miscellaneous ############## */
+
+#define DIR_X 1
+#define DIR_Y 2
+#define DIR_XY 3
+
 /* ############# debug ################## */
 
-#if USEPAK
-       #define debug(x) {}
-#else
+#if DEBUG
        #define debug(x) {printf("*** DEBUG: "); printf x;}
+#else
+       #define debug(x) {}
 #endif
 
 #ifndef IGNORE_FLAGTOKEN_ERRORS