]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
Fix crash in inputline.
[xonotic/darkplaces.git] / common.h
index 3d962211f6b830a9582c1ce1bffe4778d75d3da7..6e45808efd5f8fdfbd9dc98294727f7ac0ce62f9 100644 (file)
--- a/common.h
+++ b/common.h
@@ -292,6 +292,7 @@ typedef enum gamemode_e
        GAME_BLOODOMNICIDE,
        GAME_STEELSTORM, // added by motorsep
        GAME_STEELSTORM2, // added by motorsep
+       GAME_SSAMMO, // added by motorsep
        GAME_TOMESOFMEPHISTOPHELES, // added by motorsep
        GAME_STRAPBOMB, // added by motorsep for Urre
        GAME_MOONHELM,
@@ -307,6 +308,7 @@ gamemode_t;
 
 extern gamemode_t gamemode;
 extern const char *gamename;
+extern const char *gamenetworkfiltername;
 extern const char *gamedirname1;
 extern const char *gamedirname2;
 extern const char *gamescreenshotname;
@@ -381,5 +383,7 @@ char **XPM_DecodeString(const char *in);
 
 size_t base64_encode(unsigned char *buf, size_t buflen, size_t outbuflen);
 
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+
 #endif