]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
sv_aircontrol_power - customizing the response curve of CPMA style air control
[xonotic/darkplaces.git] / client.h
index e47a3d140107bf55fd488191b72be9e8fa10f569..3a7b69390d0fae1c852b96de07310516e5de960d 100644 (file)
--- a/client.h
+++ b/client.h
@@ -937,6 +937,17 @@ typedef struct client_state_s
        // whether the replay should allow a jump at the first sequence
        qboolean movement_replay_canjump;
 
+       // previous gun angles (for leaning effects)
+       vec3_t gunangles_prev;
+       vec3_t gunangles_highpass;
+       vec3_t gunangles_adjustment_lowpass;
+       vec3_t gunangles_adjustment_highpass;
+       // previous gun angles (for leaning effects)
+       vec3_t gunorg_prev;
+       vec3_t gunorg_highpass;
+       vec3_t gunorg_adjustment_lowpass;
+       vec3_t gunorg_adjustment_highpass;
+
 // pitch drifting vars
        float idealpitch;
        float pitchvel;
@@ -964,9 +975,6 @@ typedef struct client_state_s
        double lastongroundtime;
        double hitgroundtime;
 
-       // used by lean/follow view models
-       vec3_t viewmodel_lean, viewmodel_drag;
-
        // don't change view angle, full screen, etc
        int intermission;
        // latched at intermission start
@@ -1180,6 +1188,7 @@ typedef struct client_state_s
        float movevars_airstrafeaccelerate;
        float movevars_maxairstrafespeed;
        float movevars_aircontrol;
+       float movevars_aircontrol_power;
        float movevars_warsowbunny_airforwardaccel;
        float movevars_warsowbunny_accel;
        float movevars_warsowbunny_topspeed;