]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
add a DEMOMSG_CLIENT_TO_SERVER flag to demos (0x80000000) in the size field; packets...
[xonotic/darkplaces.git] / quakedef.h
index 87643cad3520a9dc5a38e2782957fb6c4011470b..efc228a0e2f390cedd750fb2061a72c26b6c5931 100644 (file)
@@ -345,5 +345,10 @@ float noise4f(float x, float y, float z, float w);
 
 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
+
 #endif