summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
commitd4e6a6bf57216b39745b61971141e088e15e2d0d (patch)
treefc3e123d733a91dd61b578c69516fae69754c97f /src/gfx.cpp
parenta78d73805f467d3ced0a70a1758435498fd1dbac (diff)
downloadopenttd-d4e6a6bf57216b39745b61971141e088e15e2d0d.tar.xz
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 8f2717e1f..bbfd5bf8f 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -6,10 +6,7 @@
#include "openttd.h"
#include "gfx_func.h"
#include "spritecache.h"
-#include "table/palettes.h"
-#include "table/sprites.h"
#include "variables.h"
-#include "table/control_codes.h"
#include "fontcache.h"
#include "genworld.h"
#include "debug.h"
@@ -20,6 +17,10 @@
#include "strings_func.h"
#include "core/math_func.hpp"
+#include "table/palettes.h"
+#include "table/sprites.h"
+#include "table/control_codes.h"
+
byte _dirkeys; ///< 1 = left, 2 = up, 4 = right, 8 = down
bool _fullscreen;
CursorVars _cursor;