diff options
author | yexo <yexo@openttd.org> | 2009-02-25 00:14:46 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-25 00:14:46 +0000 |
commit | bd2544b5ead713fa327536fe577da74e5119db98 (patch) | |
tree | 82b010bb9aac9f8bd447c528656ec56260040abb /src/gfx.cpp | |
parent | a23818b14643143761f4ee776bbf646ef1fc9b52 (diff) | |
download | openttd-bd2544b5ead713fa327536fe577da74e5119db98.tar.xz |
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 3 |
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; |