summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-14 20:54:01 +0000
committerdominik <dominik@openttd.org>2004-12-14 20:54:01 +0000
commitaf9dc1f81786f90e9c4e78dbaf412559699f2f4f (patch)
treefac4c84e745b0bd4dcaad799eecf398665dc5456 /gfx.h
parentb6c74c1c2077ce0c4dcd525890ea739a807f1508 (diff)
downloadopenttd-af9dc1f81786f90e9c4e78dbaf412559699f2f4f.tar.xz
(svn r1091) Fix: Finally station names use 100% the correct color in transparent mode
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index e26bbc621..641fef532 100644
--- a/gfx.h
+++ b/gfx.h
@@ -111,4 +111,9 @@ enum { NUM_SPRITES = 0x3500 }; // 1500 + space for custom GRF sets
extern byte _palettes[4][256 * 3];
VARDEF byte _cur_palette[768];
+
+typedef enum StringColorFlags {
+ IS_PALETTE_COLOR = 0x100, // color value is already a real palette color index, not an index of a StringColor
+} StringColorFlags;
+
#endif