summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-11-26 01:28:03 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-12-23 17:30:13 +0000
commit42144ecd562ee05423e16452cc999929296b138c (patch)
tree8f31fec9ef64cd4e627147b4622daa1ef4a7fd28 /src/gfx_type.h
parentb769eb30c43ccbc4e60b8b7df024253ac55d2265 (diff)
downloadopenttd-42144ecd562ee05423e16452cc999929296b138c.tar.xz
Add: a TextColour flag to ignore colour changes from strings
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 1dac6729b..6fca2228d 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -267,6 +267,7 @@ enum TextColour {
TC_IS_PALETTE_COLOUR = 0x100, ///< Colour value is already a real palette colour index, not an index of a StringColour.
TC_NO_SHADE = 0x200, ///< Do not add shading to this text colour.
+ TC_FORCED = 0x400, ///< Ignore colour changes from strings.
};
DECLARE_ENUM_AS_BIT_SET(TextColour)