diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-07 18:56:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-07 18:56:00 +0000 |
commit | 421fc71813f08bfe359f9ac7596933a7e4cea6e0 (patch) | |
tree | 15b3630488281280d6634804b4a1a41fc402ab0a /src/core/gameinterface.h | |
parent | 91d3a0352088611d3b78d3344b7a2bf2d4955a0a (diff) |
client-side frame interpolation: network updates, interpolation of position
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r-- | src/core/gameinterface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index 2324bb5..0edcb1b 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -55,7 +55,7 @@ public: void reset_clientstate(float servertime); /// update the client state timers - void update_clientstate(); + void update_clientstate(float seconds); /*----- virtual mutators ------------------------------------------ */ @@ -73,7 +73,7 @@ protected: float game_timestep; float game_clientframetime; - unsigned int game_frames; + unsigned int game_serverframelength; }; /// global local player instance |