]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
remove more unused code
[xonotic/darkplaces.git] / common.h
index 4c7165c1d6d374741f89de074c9f414831c8ed18..0902ca775be323de68360f7b1bd331c229cf9f6f 100644 (file)
--- a/common.h
+++ b/common.h
@@ -134,7 +134,7 @@ typedef enum protocolversion_e
        PROTOCOL_QUAKEWORLD, ///< quakeworld protocol
        PROTOCOL_NEHAHRABJP, ///< same as QUAKEDP but with 16bit modelindex
        PROTOCOL_NEHAHRABJP2, ///< same as NEHAHRABJP but with 16bit soundindex
-       PROTOCOL_NEHAHRABJP3, ///< same as NEHAHRABJP2 but with some changes
+       PROTOCOL_NEHAHRABJP3 ///< same as NEHAHRABJP2 but with some changes
 }
 protocolversion_t;
 
@@ -252,6 +252,7 @@ typedef enum gamemode_e
        GAME_ROGUE,
        GAME_NEHAHRA,
        GAME_NEXUIZ,
+       GAME_XONOTIC,
        GAME_TRANSFUSION,
        GAME_GOODVSBAD2,
        GAME_TEU,
@@ -272,6 +273,7 @@ typedef enum gamemode_e
        GAME_PROPHECY,
        GAME_BLOODOMNICIDE,
        GAME_STEELSTORM, // added by motorsep
+       GAME_STRAPBOMB, // added by motorsep for Urre
        GAME_COUNT
 }
 gamemode_t;
@@ -347,5 +349,8 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
 
 void FindFraction(double val, int *num, int *denom, int denomMax);
 
+// decodes XPM file to XPM array (as if #include'd)
+char **XPM_DecodeString(const char *in);
+
 #endif