summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 7e375e3bf..2cf213262 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -3,6 +3,7 @@
/** @file gfx.cpp Handling of drawing text and other gfx related stuff. */
#include "stdafx.h"
+#include "openttd.h"
#include "gfx_func.h"
#include "variables.h"
#include "spritecache.h"
@@ -36,7 +37,7 @@ DrawPixelInfo _screen;
bool _screen_disable_anim = false; ///< Disable palette animation (important for 32bpp-anim blitter during giant screenshot)
bool _exit_game;
bool _networking; ///< are we in networking mode?
-byte _game_mode;
+GameMode _game_mode;
int8 _pause_game;
int _pal_first_dirty;
int _pal_count_dirty;