diff options
author | michi_cc <michi_cc@openttd.org> | 2011-10-04 21:35:47 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-10-04 21:35:47 +0000 |
commit | c575b5bbd7c8a225ff5a2b1120c58edfc96f078d (patch) | |
tree | ad19b7bddacec4ea1ecfd1dc62a418fb96273dad /src/base_media_base.h | |
parent | 6dbb050a32122209497d9b41c373b3b759602883 (diff) | |
download | openttd-c575b5bbd7c8a225ff5a2b1120c58edfc96f078d.tar.xz |
(svn r23000) -Feature: Base graphics sets can now specify a preferred blitter which OpenTTD uses to decide which blitter to load.
Diffstat (limited to 'src/base_media_base.h')
-rw-r--r-- | src/base_media_base.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base_media_base.h b/src/base_media_base.h index 2a990ad0d..f026e4b1e 100644 --- a/src/base_media_base.h +++ b/src/base_media_base.h @@ -197,9 +197,16 @@ enum GraphicsFileType { MAX_GFT ///< We are looking for this amount of GRFs }; +/** Blitter type for base graphics sets. */ +enum BlitterType { + BLT_8BPP, ///< Base set has 8 bpp sprites only. + BLT_32BPP, ///< Base set has both 8 bpp and 32 bpp sprites. +}; + /** All data of a graphics set. */ struct GraphicsSet : BaseSet<GraphicsSet, MAX_GFT, BASESET_DIR> { PaletteType palette; ///< Palette of this graphics set + BlitterType blitter; ///< Blitter of this graphics set bool FillSetDetails(struct IniFile *ini, const char *path, const char *full_filename); }; |