#if defined(__GNUC__) && (__GNUC__ > 2)
#define DP_FUNC_PRINTF(n) __attribute__ ((format (printf, n, n+1)))
+#define DP_FUNC_PURE __attribute__ ((pure))
#else
#define DP_FUNC_PRINTF(n)
+#define DP_FUNC_PURE
#endif
#include <sys/types.h>
//#define STAT_TIME 17 // FTE
//#define STAT_VIEW2 20 // FTE
#define STAT_VIEWZOOM 21 // DP
+#define STAT_MOVEVARS_AIRSTOPACCELERATE 231 // DP
+#define STAT_MOVEVARS_AIRSTRAFEACCELERATE 232 // DP
+#define STAT_MOVEVARS_MAXAIRSTRAFESPEED 233 // DP
+#define STAT_MOVEVARS_AIRCONTROL 234 // DP
#define STAT_FRAGLIMIT 235 // DP
#define STAT_TIMELIMIT 236 // DP
#define STAT_MOVEVARS_WALLFRICTION 237 // DP
extern qboolean noclip_anglehack;
extern cvar_t developer;
+extern cvar_t developer_loadfile;
+extern cvar_t developer_loading;
/* Preprocessor macros to identify platform
DP_OS_NAME - "friendly" name of the OS, for humans to read
void Host_ClientCommands(const char *fmt, ...) DP_FUNC_PRINTF(1);
void Host_ShutdownServer(void);
void Host_Reconnect_f(void);
+void Host_NoOperation_f(void);
void Host_AbortCurrentFrame(void);
void Sys_Shared_Init(void);
+// Flag in size field of demos to indicate a client->server packet. Demo
+// playback will ignore this, but it may be useful to make DP sniff packets to
+// debug protocol exploits.
+#define DEMOMSG_CLIENT_TO_SERVER 0x80000000
+
+// In Quake, any char in 0..32 counts as whitespace
+//#define ISWHITESPACE(ch) ((unsigned char) ch <= (unsigned char) ' ')
+#define ISWHITESPACE(ch) (!(ch) || (ch) == ' ' || (ch) == '\t' || (ch) == '\r' || (ch) == '\n')
+
+// This also includes extended characters, and ALL control chars
+#define ISWHITESPACEORCONTROL(ch) ((signed char) (ch) <= (signed char) ' ')
+
#endif