summaryrefslogtreecommitdiff
path: root/gfx.h
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.h
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.h')
-rw-r--r--gfx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index e8bf5a704..66eb5eee1 100644
--- a/gfx.h
+++ b/gfx.h
@@ -124,4 +124,8 @@ typedef enum StringColorFlags {
IS_PALETTE_COLOR = 0x100, // color value is already a real palette color index, not an index of a StringColor
} StringColorFlags;
+#ifdef _DEBUG
+extern bool _dbg_screen_rect;
+#endif
+
#endif /* GFX_H */