]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
more Nexuiz hud stuff from BlackHC, minor style edits to fit in with surrounding...
[xonotic/darkplaces.git] / client.h
index 92516fbea38d363d6062b4e5dfdaa4a5b4e90b63..43aa005bd0e9feab61cd2e1ac77eaa67e9a68d75 100644 (file)
--- a/client.h
+++ b/client.h
@@ -157,6 +157,10 @@ entity_render_t;
 
 typedef struct entity_persistent_s
 {
+       int linkframe;
+
+       vec3_t trail_origin;
+
        // particle trail
        float trail_time;
 
@@ -304,6 +308,9 @@ extern client_static_t      cls;
 //
 typedef struct
 {
+       // true if playing in a local game and no one else is connected
+       int islocalgame;
+
        // when connecting to the server throw out the first couple move messages
        // so the player doesn't accidentally do something the first frame
        int movemessages;
@@ -321,6 +328,8 @@ typedef struct
        int items;
        // cl.time of acquiring item, for blinking
        float item_gettime[32];
+       // cl.time of changing STAT_ACTIVEWEAPON
+       float weapontime;
        // use pain anim frame if cl.time < this
        float faceanimtime;
 
@@ -418,8 +427,12 @@ typedef struct
        // for interpolation
        float viewzoomold, viewzoomnew;
 
+       // protocol version of the server we're connected to
+       int protocol;
+
        // entity database stuff
        entity_database_t entitydatabase;
+       entity_database4_t *entitydatabase4;
 }
 client_state_t;