diff --git a/src/gfx_type.h b/src/gfx_type.h --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -11,6 +11,7 @@ #define GFX_TYPE_H #include "core/endian_type.hpp" +#include "core/enum_type.hpp" #include "core/geometry_type.hpp" #include "zoom_type.h" @@ -247,6 +248,7 @@ enum Colours : byte { COLOUR_END, INVALID_COLOUR = 0xFF, }; +DECLARE_POSTFIX_INCREMENT(Colours) DECLARE_ENUM_AS_ADDABLE(Colours) /** Colour of the strings, see _string_colourmap in table/string_colours.h or docs/ottd-colourtext-palette.png */