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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 6128fdc9b..6682d4b59 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -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 */