]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
fix crash when loading progs/null.spr in nehahra, which has 0x0 size
[xonotic/darkplaces.git] / client.h
index 8f3700092a7d3471799b02dae508c98f8eccaef8..78392e93066097a80b317e213951818cb3e37715 100644 (file)
--- a/client.h
+++ b/client.h
@@ -982,6 +982,14 @@ typedef struct client_state_s
        int qw_deltasequence[QW_UPDATE_BACKUP];
 
        // csqc stuff:
+       // server entity number corresponding to a clientside entity
+       unsigned short csqc_server2csqcentitynumber[MAX_EDICTS];
+       qboolean csqc_loaded;
+       vec3_t csqc_origin;
+       vec3_t csqc_angles;
+       qboolean csqc_usecsqclistener;
+       matrix4x4_t csqc_listenermatrix;
+       char csqc_printtextbuf[MAX_INPUTLINE];
 
        // collision culling data
        world_t world;
@@ -991,6 +999,11 @@ typedef struct client_state_s
        // this is updated to cl.movement_origin whenever health is < 1
        // used by %d print in say/say_team messages if cl_locs_enable is on
        vec3_t lastdeathorigin;
+
+       // processing buffer used by R_BuildLightMap, reallocated as needed,
+       // freed on each level change
+       size_t buildlightmapmemorysize;
+       unsigned char *buildlightmapmemory;
 }
 client_state_t;