]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Attempt to implement landing viewshake effect (the camera lowering and going back...
[xonotic/darkplaces.git] / client.h
index dcd951077af8b2d1be625fa174337703d1fb422d..266a99dff9d73dd1aae5a7478481c3b7d841c3c7 100644 (file)
--- a/client.h
+++ b/client.h
@@ -382,6 +382,9 @@ typedef struct entity_render_s
        // FIELDS UPDATED BY RENDERER:
        // last time visible during trace culling
        double last_trace_visibility;
+
+       // user wavefunc parameters (from csqc)
+       float userwavefunc_param[Q3WAVEFUNC_USER_COUNT];
 }
 entity_render_t;
 
@@ -969,6 +972,9 @@ typedef struct client_state_s
        qboolean oldonground;
        double lastongroundtime;
        double hitgroundtime;
+       float bob2_smooth;
+       
+       float ground_hit_speed;
 
        // don't change view angle, full screen, etc
        int intermission;
@@ -1186,6 +1192,7 @@ typedef struct client_state_s
        float movevars_airstopaccelerate;
        float movevars_airstrafeaccelerate;
        float movevars_maxairstrafespeed;
+       float movevars_airstrafeaccel_qw;
        float movevars_aircontrol;
        float movevars_aircontrol_power;
        float movevars_warsowbunny_airforwardaccel;
@@ -1194,6 +1201,7 @@ typedef struct client_state_s
        float movevars_warsowbunny_turnaccel;
        float movevars_warsowbunny_backtosideratio;
        float movevars_ticrate;
+       float movevars_airspeedlimit_nonqw;
 
        // models used by qw protocol
        int qw_modelindex_spike;