Fixed jittery lag and client closing issues

This commit is contained in:
Kayne Ruse
2013-12-07 03:24:39 +11:00
parent 49c9abe91b
commit de1a6a050f
2 changed files with 31 additions and 16 deletions
+3
View File
@@ -48,6 +48,7 @@ protected:
void Render(SDL_Surface* const);
//Event handlers
void QuitEvent();
void MouseMotion(SDL_MouseMotionEvent const&);
void MouseButtonDown(SDL_MouseButtonEvent const&);
void MouseButtonUp(SDL_MouseButtonEvent const&);
@@ -61,6 +62,8 @@ protected:
void HandlePlayerUpdate(NetworkPacket);
void SendState();
void RequestDisconnect();
void RequestShutDown();
//global
ConfigUtility& config;