Add 32bpp blitter support for adjusting brightness of drawn sprites

This commit is contained in:
Jonathan G Rennison
2021-02-26 18:02:13 +00:00
parent 42e57995dd
commit 4ef363422a
10 changed files with 260 additions and 21 deletions

View File

@@ -1552,6 +1552,9 @@ enum SpriteSetup {
/* This bit is applied to palette ID */
PALETTE_TEXT_RECOLOUR = 31, ///< Set if palette is actually a magic text recolour
PALETTE_BRIGHTNESS_MODIFY = 30, ///< Set if palette has a brightness adjustment
PALETTE_BRIGHTNESS_OFFSET = 24, ///< Palette brightness adjustment bit offset
PALETTE_BRIGHTNESS_WIDTH = 5, ///< Palette brightness adjustment width
PALETTE_WIDTH = 24, ///< number of bits of the sprite containing the recolour palette
SPRITE_WIDTH = 24, ///< number of bits for the sprite number