Added 99% functional weaponmodel bobbing code. It even tries to stop bobbing when...
[xonotic/darkplaces.git] / client.h
index 3988bec..9c06485 100644 (file)
--- a/client.h
+++ b/client.h
@@ -553,6 +553,11 @@ typedef struct
        qboolean onground;
        qboolean inwater;
 
+       // used by bob
+       qboolean oldonground;
+       double lastongroundtime;
+       double hitgroundtime;
+
        // don't change view angle, full screen, etc
        int intermission;
        // latched at intermission start