summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 08:35:26 +0000
committertron <tron@openttd.org>2005-11-16 08:35:26 +0000
commitce398adf8e21aefb522091d91ea1cef6d68ff801 (patch)
tree36dbde3689e61e89ebf603f5f851028019d303b1 /gfx.c
parent7289cc7c07f1d7784f0c877c8d5a0da86a3f1475 (diff)
downloadopenttd-ce398adf8e21aefb522091d91ea1cef6d68ff801.tar.xz
(svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfx.c b/gfx.c
index 32ecca3ae..bf8e528ae 100644
--- a/gfx.c
+++ b/gfx.c
@@ -13,6 +13,10 @@
#include "hal.h"
#include "variables.h"
+#ifdef _DEBUG
+bool _dbg_screen_rect;
+#endif
+
Colour _cur_palette[256];
static void GfxMainBlitter(const Sprite *sprite, int x, int y, int mode);