]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
simplify and clean up the gun model effects code a bit
[xonotic/darkplaces.git] / client.h
index 026fe499df7be5534fc7b5d4f82302d9186e5d4f..97e9e0d2fc31a3cc8e0b7d13aae05d7f35bfb232 100644 (file)
--- a/client.h
+++ b/client.h
@@ -932,6 +932,11 @@ 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_lowpass;
+       // highpass store for highpassing the origin (for following effect)
+       vec3_t gunorg_minus_vieworg_diff_highpass;
+
 // pitch drifting vars
        float idealpitch;
        float pitchvel;