]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
buffer csprogs downloads and load csprogs from the buffer instead of a file, if available
[xonotic/darkplaces.git] / client.h
index c229d2882721d1713d8d2a327cb78d66cd13b770..da20b908f475fad8e64784369984b546b408f6d5 100644 (file)
--- a/client.h
+++ b/client.h
@@ -718,6 +718,10 @@ typedef struct client_static_s
        int proquake_servermod; // 0 = not proquake, 1 = proquake
        int proquake_serverversion; // actual proquake server version * 10 (3.40 = 34, etc)
        int proquake_serverflags; // 0 (PQF_CHEATFREE not supported)
+
+       // don't write-then-read csprogs.dat (useful for demo playback)
+       unsigned char *caughtcsprogsdata;
+       fs_offset_t caughtcsprogsdatasize;
 }
 client_static_t;