summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
commitc2efedab22275302f0a10cc197424d345a021d18 (patch)
tree7488abbb3655451a3f6a1621e0708f72011af5f6 /src/client.cpp
parent79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff)
downloadmanaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.gz
manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2
manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.xz
manaplus-c2efedab22275302f0a10cc197424d345a021d18.zip
Replace SDL int types to C++ types.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b782ce3a1..f9398281f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -156,8 +156,8 @@ Graphics *mainGraphics = nullptr;
Sound sound;
-Uint32 nextTick(Uint32 interval, void *param A_UNUSED);
-Uint32 nextSecond(Uint32 interval, void *param A_UNUSED);
+uint32_t nextTick(uint32_t interval, void *param A_UNUSED);
+uint32_t nextSecond(uint32_t interval, void *param A_UNUSED);
void ErrorListener::action(const gcn::ActionEvent &)
{
@@ -186,7 +186,7 @@ extern "C" char const *_nl_locale_name_default(void);
* Called every 10 milliseconds by SDL_AddTimer()
* @see MILLISECONDS_IN_A_TICK value
*/
-Uint32 nextTick(Uint32 interval, void *param A_UNUSED)
+uint32_t nextTick(uint32_t interval, void *param A_UNUSED)
{
tick_time++;
if (tick_time == MAX_TICK_VALUE)
@@ -198,7 +198,7 @@ Uint32 nextTick(Uint32 interval, void *param A_UNUSED)
* Updates fps.
* Called every seconds by SDL_AddTimer()
*/
-Uint32 nextSecond(Uint32 interval, void *param A_UNUSED)
+uint32_t nextSecond(uint32_t interval, void *param A_UNUSED)
{
fps = frame_count;
lps = logic_count;