forked from mirror/OpenTTD
(svn r15425) -Codechange: some color->colour changes and type safety.
This commit is contained in:
@@ -206,7 +206,10 @@ enum TextColour {
|
||||
TC_DARK_BLUE = 0x0F,
|
||||
TC_BLACK = 0x10,
|
||||
TC_INVALID = 0xFF,
|
||||
|
||||
IS_PALETTE_COLOR = 0x100, ///< colour value is already a real palette colour index, not an index of a StringColour
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(TextColour);
|
||||
|
||||
/** Defines a few values that are related to animations using palette changes */
|
||||
enum PaletteAnimationSizes {
|
||||
@@ -215,10 +218,6 @@ enum PaletteAnimationSizes {
|
||||
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
|
||||
};
|
||||
|
||||
/** Define the operation GfxFillRect performs */
|
||||
enum FillRectMode {
|
||||
FILLRECT_OPAQUE, ///< Fill rectangle with a single color
|
||||
|
Reference in New Issue
Block a user