/// Encode a big endian 32bit int to the given \p buffer
void StoreBigLong (unsigned char *buffer, unsigned int i);
+
+/// Encode a big endian 16bit int to the given \p buffer
+void StoreBigShort (unsigned char *buffer, unsigned short i);
+
+/// Encode a little endian 32bit int to the given \p buffer
+void StoreLittleLong (unsigned char *buffer, unsigned int i);
+
+/// Encode a little endian 16bit int to the given \p buffer
+void StoreLittleShort (unsigned char *buffer, unsigned short i);
//@}
//============================================================================
extern int com_argc;
extern const char **com_argv;
+extern int com_selffd;
int COM_CheckParm (const char *parm);
void COM_Init (void);
GAME_ROGUE,
GAME_NEHAHRA,
GAME_NEXUIZ,
+ GAME_XONOTIC,
GAME_TRANSFUSION,
GAME_GOODVSBAD2,
GAME_TEU,
GAME_DARSANA,
GAME_CONTAGIONTHEORY,
GAME_EDU2P,
- GAME_BLADEMASTER,
GAME_PROPHECY,
GAME_BLOODOMNICIDE,
+ GAME_STEELSTORM, // added by motorsep
+ GAME_STRAPBOMB, // added by motorsep for Urre
+ GAME_MOONHELM,
GAME_COUNT
}
gamemode_t;
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