summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-08 18:13:29 +0000
committerrubidium <rubidium@openttd.org>2011-12-08 18:13:29 +0000
commit2ccbd2a6f5d0e3b9000122fe1845482241334f41 (patch)
treed8a346dc40e1f7f85376c413a0c12065e277ae49 /src/gfx_func.h
parent9e8b76650a084bb26b32113317933217b1d99e42 (diff)
downloadopenttd-2ccbd2a6f5d0e3b9000122fe1845482241334f41.tar.xz
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 2061c9310..dee878915 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -64,12 +64,10 @@ extern bool _right_button_clicked;
extern DrawPixelInfo _screen;
extern bool _screen_disable_anim; ///< Disable palette animation (important for 32bpp-anim blitter during giant screenshot)
-extern int _pal_first_dirty;
-extern int _pal_count_dirty;
extern int _num_resolutions;
extern Dimension _resolutions[32];
extern Dimension _cur_resolution;
-extern Colour _cur_palette[256]; ///< Current palette. Entry 0 has to be always fully transparent!
+extern Palette _cur_palette; ///< Current palette
void HandleKeypress(uint32 key);
void HandleCtrlChanged();