summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-02 18:45:15 +0000
committerrubidium <rubidium@openttd.org>2008-09-02 18:45:15 +0000
commitfc216aeeb86f5e84db06f51ad1e3172d6c343b3b (patch)
treec6bcdba91fc3571e2f542bbd9644b62991808118 /src/gfx_func.h
parentc0cdfea97d298bf64f507e48e711888ef6681db6 (diff)
downloadopenttd-fc216aeeb86f5e84db06f51ad1e3172d6c343b3b.tar.xz
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 317f947fa..4a709bf88 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -180,5 +180,8 @@ extern DrawPixelInfo *_cur_dpi;
extern byte _colour_gradient[COLOUR_END][8];
extern PaletteType _use_palette;
+extern bool _palette_remap_grf[];
+extern const byte *_palette_remap;
+extern const byte *_palette_reverse_remap;
#endif /* GFX_FUNC_H */