// snprintf and vsnprintf are NOT portable. Use their DP counterparts instead
+#ifdef snprintf
+# undef snprintf
+#endif
#define snprintf DO_NOT_USE_SNPRINTF__USE_DPSNPRINTF
+#ifdef vsnprintf
+# undef vsnprintf
+#endif
#define vsnprintf DO_NOT_USE_VSNPRINTF__USE_DPVSNPRINTF
// dpsnprintf and dpvsnprintf
GAME_BLOODOMNICIDE,
GAME_STEELSTORM, // added by motorsep
GAME_STRAPBOMB, // added by motorsep for Urre
+ GAME_MOONHELM,
GAME_COUNT
}
gamemode_t;
extern const char *gameuserdirname;
extern char com_modname[MAX_OSPATH];
+void COM_ChangeGameTypeForGameDirs(void);
+
void COM_ToLowerString (const char *in, char *out, size_t size_out);
void COM_ToUpperString (const char *in, char *out, size_t size_out);
int COM_StringBeginsWith(const char *s, const char *match);
// decodes XPM file to XPM array (as if #include'd)
char **XPM_DecodeString(const char *in);
+size_t base64_encode(unsigned char *buf, size_t buflen, size_t outbuflen);
+
#endif