summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 79b30fb2b..146d033ba 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -181,7 +181,8 @@ struct SubSprite {
};
enum Colours {
- COLOUR_DARK_BLUE,
+ COLOUR_BEGIN,
+ COLOUR_DARK_BLUE = COLOUR_BEGIN,
COLOUR_PALE_GREEN,
COLOUR_PINK,
COLOUR_YELLOW,
@@ -200,7 +201,7 @@ enum Colours {
COLOUR_END,
INVALID_COLOUR = 0xFF,
};
-template <> struct EnumPropsT<Colours> : MakeEnumPropsT<Colours, byte, COLOUR_DARK_BLUE, COLOUR_END, INVALID_COLOUR, 4> {};
+template <> struct EnumPropsT<Colours> : MakeEnumPropsT<Colours, byte, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 4> {};
/** Colour of the strings, see _string_colourmap in table/palettes.h or docs/ottd-colourtext-palette.png */
enum TextColour {