(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
This commit is contained in:
@@ -235,4 +235,12 @@ enum FillRectMode {
|
||||
FILLRECT_RECOLOR, ///< Apply a recolor sprite to the screen content
|
||||
};
|
||||
|
||||
/** Palettes OpenTTD supports. */
|
||||
enum Palette {
|
||||
PAL_DOS, ///< Use the DOS palette.
|
||||
PAL_WINDOWS, ///< Use the Windows palette.
|
||||
PAL_AUTODETECT, ///< Automatically detect the palette based on the graphics pack.
|
||||
MAX_PAL = 2, ///< The number of palettes.
|
||||
};
|
||||
|
||||
#endif /* GFX_TYPE_H */
|
||||
|
Reference in New Issue
Block a user