]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
restored the old lightmap batching code that I removed when adding the
[xonotic/darkplaces.git] / client.h
index 83e488466986fbaf4e41a9e59278295b342cf02f..76fce5bf96e08db2c5ff03e95156cc84754208dc 100644 (file)
--- a/client.h
+++ b/client.h
@@ -943,8 +943,11 @@ typedef struct client_state_s
        //qboolean qw_spectator;
 
        // movement parameters for client prediction
+       float movevars_wallfriction;
+       float movevars_waterfriction;
+       float movevars_friction;
        float movevars_ticrate;
-       float movevars_slowmo;
+       float movevars_timescale;
        float movevars_gravity;
        float movevars_stopspeed;
        float movevars_maxspeed;
@@ -952,8 +955,6 @@ typedef struct client_state_s
        float movevars_accelerate;
        float movevars_airaccelerate;
        float movevars_wateraccelerate;
-       float movevars_friction;
-       float movevars_waterfriction;
        float movevars_entgravity;
        float movevars_jumpvelocity;
        float movevars_edgefriction;
@@ -999,6 +1000,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;