]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
oops, hadn't finished this
[xonotic/darkplaces.git] / server.h
index 4e6635f8110951842b33d2dc7c02eacaadb9c326..c377acdc0dcc5b5225911e7a7be953e515726f84 100644 (file)
--- a/server.h
+++ b/server.h
@@ -77,7 +77,6 @@ typedef struct client_s
        qboolean                active;                         // false = client is free
        qboolean                spawned;                        // false = don't send datagrams
        qboolean                dropasap;                       // has been told to go to another level
-       qboolean                privileged;                     // can execute any host command
        qboolean                sendsignon;                     // only valid before spawned
 
        double                  last_message;           // reliable messages must be sent
@@ -97,12 +96,18 @@ typedef struct client_s
                
        float                   ping_times[NUM_PING_TIMES];
        int                             num_pings;                      // ping_times[num_pings%NUM_PING_TIMES]
+       float                   ping;                           // LordHavoc: can be used for prediction or whatever...
+       float                   latency;                        // LordHavoc: specifically used for prediction, accounts for sys_ticrate too
 
 // spawn parms are carried from level to level
        float                   spawn_parms[NUM_SPAWN_PARMS];
 
 // client known data for deltas        
        int                             old_frags;
+       int                             pmodel;
+
+       // delta compression state
+       float                   nextfullupdate[MAX_EDICTS];
 } client_t;