diff options
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index a3c02c8..28bd059 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -450,6 +450,13 @@ typedef struct unlagged_s { qboolean used; } unlagged_t; +#define MAX_SAVED_POSITIONS 3 +typedef struct { + vec3_t origin; + int time; + int client_time; +} savedPosition_t; + // this structure is cleared on each ClientSpawn(), // except for 'client->pers' and 'client->sess' struct gclient_s @@ -550,6 +557,10 @@ struct gclient_s int tkcredits[ MAX_CLIENTS ]; int revertCookie; + + qboolean extrapolate; + savedPosition_t savedPositions[MAX_SAVED_POSITIONS]; + int savedPositionsCount; }; @@ -1391,6 +1402,7 @@ extern vmCvar_t g_popularMapsVotePercent; extern vmCvar_t g_banIPs; extern vmCvar_t g_filterBan; extern vmCvar_t g_smoothClients; +extern vmCvar_t g_debugExtrapolation; extern vmCvar_t g_outdatedClientMessage; extern vmCvar_t pmove_fixed; extern vmCvar_t pmove_msec; |