diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-01 17:41:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-01 21:33:37 +0300 |
commit | 93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f (patch) | |
tree | 7501c33d86faee4450558989519b721bef1b414c /src/client.h | |
parent | 748b2dc257650d9ff6e740496802cb977227bc21 (diff) | |
download | mv-93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f.tar.gz mv-93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f.tar.bz2 mv-93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f.tar.xz mv-93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f.zip |
Move timers from client into timers file.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/client.h b/src/client.h index 9d1a23266..f3b2bcc26 100644 --- a/src/client.h +++ b/src/client.h @@ -46,17 +46,8 @@ class Skin; class Window; class QuitDialog; -/** - * Set the milliseconds value of a tick time. - */ -static const int MILLISECONDS_IN_A_TICK = 10; - static const uint16_t DEFAULT_PORT = 6901; -extern volatile int fps; -extern volatile int lps; -extern volatile int tick_time; -extern volatile int cur_time; extern bool isSafeMode; extern int serverVersion; extern unsigned int tmwServerVersion; @@ -74,13 +65,6 @@ extern ErrorListener errorListener; extern LoginData loginData; /** - * Returns elapsed time. (Warning: supposes the delay is always < 100 seconds) - */ -int get_elapsed_time(const int startTime) A_WARN_UNUSED; - -int get_elapsed_time1(const int startTime) A_WARN_UNUSED; - -/** * All client states. */ enum State @@ -420,9 +404,6 @@ private: SDL_Surface *mIcon; - SDL_TimerID mLogicCounterId; - SDL_TimerID mSecondsCounterId; - std::string mCaption; FPSmanager mFpsManager; Skin *mSkin; |