diff options
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index a85a32434..87785343b 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -191,7 +191,7 @@ enum Colours { COLOUR_GREY, COLOUR_WHITE, COLOUR_END, - INVALID_COLOUR = 0xFF + INVALID_COLOUR = 0xFF, }; /** Colour of the strings, see _string_colormap in table/palettes.h or docs/ottd-colourtext-palette.png */ @@ -216,6 +216,13 @@ enum TextColour { TC_BLACK = 0x10, }; +/** Defines a few values that are related to animations using palette changes */ +enum PaletteAnimationSizes { + PALETTE_ANIM_SIZE_WIN = 28, ///< number of animated colours in Windows palette + PALETTE_ANIM_SIZE_DOS = 38, ///< number of animated colours in DOS palette + PALETTE_ANIM_SIZE_START = 217, ///< Index in the _palettes array from which all animations are taking places (table/palettes.h) +}; + enum StringColorFlags { IS_PALETTE_COLOR = 0x100, ///< color value is already a real palette color index, not an index of a StringColor }; |