]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
[04:31:11] <@LordHavoc> div0: 9179 (if (msecdelta <= 0) return;) wrecked connect...
[xonotic/darkplaces.git] / client.h
index dc37e938a6ca513ee8534fab9901654500963f90..fc13bae0bb767e983f8aefd698f3c7060eb36668 100644 (file)
--- a/client.h
+++ b/client.h
@@ -301,6 +301,9 @@ typedef struct entity_render_s
        // subframe numbers (-1 if not used) and their blending scalers (0-1), if interpolation is not desired, use subframeblend[0].subframe
        frameblend_t frameblend[MAX_FRAMEBLENDS];
 
+       // animation cache index
+       int animcacheindex;
+
        // current lighting from map (updated ONLY by client code, not renderer)
        vec3_t modellight_ambient;
        vec3_t modellight_diffuse; // q3bsp
@@ -657,7 +660,8 @@ typedef enum
        PARTICLE_BILLBOARD = 0,
        PARTICLE_SPARK = 1,
        PARTICLE_ORIENTED_DOUBLESIDED = 2,
-       PARTICLE_BEAM = 3,
+       PARTICLE_VBEAM = 3,
+       PARTICLE_HBEAM = 4,
        PARTICLE_INVALID = -1
 }
 porientation_t;
@@ -885,6 +889,12 @@ typedef struct client_state_s
        // how long it has been since the previous client frame in real time
        // (not game time, for that use cl.time - cl.oldtime)
        double realframetime;
+       
+       // fade var for fading while dead
+       float deathfade;
+
+       // motionblur alpha level variable
+       float motionbluralpha;
 
        // copy of realtime from last recieved message, for net trouble icon
        float last_received_message;
@@ -1072,6 +1082,7 @@ typedef struct client_state_s
        float movevars_warsowbunny_topspeed;
        float movevars_warsowbunny_turnaccel;
        float movevars_warsowbunny_backtosideratio;
+       float movevars_ticrate;
 
        // models used by qw protocol
        int qw_modelindex_spike;