diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-13 22:49:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-13 22:49:35 +0300 |
commit | 004bb0759fa125f53a4595834f65ad30e7921461 (patch) | |
tree | b4dc69af59d03a2eb07348c8ce5ef3de3687b116 /src/utils | |
parent | ac3ccda23ac4b5c69e15147b8082d90df2ac23de (diff) | |
download | manaplus-004bb0759fa125f53a4595834f65ad30e7921461.tar.gz manaplus-004bb0759fa125f53a4595834f65ad30e7921461.tar.bz2 manaplus-004bb0759fa125f53a4595834f65ad30e7921461.tar.xz manaplus-004bb0759fa125f53a4595834f65ad30e7921461.zip |
Move timer constants into separate file.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/timer.cpp | 2 | ||||
-rw-r--r-- | src/utils/timer.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp index b2a203e44..7b2411687 100644 --- a/src/utils/timer.cpp +++ b/src/utils/timer.cpp @@ -20,6 +20,8 @@ #include "utils/timer.h" +#include "const/utils/timer.h" + #include <SDL_timer.h> #include <climits> diff --git a/src/utils/timer.h b/src/utils/timer.h index ac8136a6e..fa2dd2459 100644 --- a/src/utils/timer.h +++ b/src/utils/timer.h @@ -23,11 +23,6 @@ #include "localconsts.h" -/** - * Set the milliseconds value of a tick time. - */ -static const int MILLISECONDS_IN_A_TICK = 10; - extern volatile int fps; extern volatile int lps; extern volatile int tick_time; |