diff options
author | rubidium <rubidium@openttd.org> | 2008-09-02 15:20:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-02 15:20:38 +0000 |
commit | c8e8911ef676f503ac5789d3fefac1278cdef971 (patch) | |
tree | e7050537d14303dbc6bc9a461ff38931861cc4aa /src/gfx_type.h | |
parent | cbe397388f0ef537b61095b05ee4edfe9dd92202 (diff) | |
download | openttd-c8e8911ef676f503ac5789d3fefac1278cdef971.tar.xz |
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index 97e987488..7006fa967 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -243,4 +243,12 @@ enum PaletteType { MAX_PAL = 2, ///< The number of palettes. }; +/** Types of sprites that might be loaded */ +enum SpriteType { + ST_NORMAL = 0, ///< The most basic (normal) sprite + ST_MAPGEN = 1, ///< Special sprite for the map generator + ST_FONT = 2, ///< A sprite used for fonts + ST_RECOLOUR = 3, ///< Recolour sprite +}; + #endif /* GFX_TYPE_H */ |