diff options
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index c31c61e70..466612755 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -266,4 +266,11 @@ enum SpriteType { /** The number of milliseconds per game tick. */ static const uint MILLISECONDS_PER_TICK = 30; +/** Information about the currently used palette. */ +struct Palette { + Colour palette[256]; ///< Current palette. Entry 0 has to be always fully transparent! + int first_dirty; ///< The first dirty element. + int count_dirty; ///< The number of dirty elements. +}; + #endif /* GFX_TYPE_H */ |