summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-13 22:49:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-13 22:49:35 +0300
commit004bb0759fa125f53a4595834f65ad30e7921461 (patch)
treeb4dc69af59d03a2eb07348c8ce5ef3de3687b116 /src/utils
parentac3ccda23ac4b5c69e15147b8082d90df2ac23de (diff)
downloadmanaverse-004bb0759fa125f53a4595834f65ad30e7921461.tar.gz
manaverse-004bb0759fa125f53a4595834f65ad30e7921461.tar.bz2
manaverse-004bb0759fa125f53a4595834f65ad30e7921461.tar.xz
manaverse-004bb0759fa125f53a4595834f65ad30e7921461.zip
Move timer constants into separate file.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/timer.cpp2
-rw-r--r--src/utils/timer.h5
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;