]> 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
index c245ca7535be36caefafe83b3de334a674fd479c..5c598324904cfb642a846a2f6e8e3723af2ea24e 100644 (file)
@@ -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 ########### */
 
@@ -359,6 +361,12 @@ enum {
 #ifndef GAMEPLAYMANUAL
        #define GAMEPLAYMANUAL "manual.html"
 #endif
+#ifndef MEDAL_SERVER_HOST
+       #define MEDAL_SERVER_HOST "localhost"
+#endif
+#ifndef MEDAL_SERVER_PORT
+       #define MEDAL_SERVER_PORT 80
+#endif
 
 enum {
 
@@ -366,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