summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_simple.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blitter/32bpp_simple.hpp')
-rw-r--r--src/blitter/32bpp_simple.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/blitter/32bpp_simple.hpp b/src/blitter/32bpp_simple.hpp
index 501cf4c26..f09920d0e 100644
--- a/src/blitter/32bpp_simple.hpp
+++ b/src/blitter/32bpp_simple.hpp
@@ -17,6 +17,14 @@
/** The most trivial 32 bpp blitter (without palette animation). */
class Blitter_32bppSimple : public Blitter_32bppBase {
+ struct Pixel {
+ uint8 r; ///< Red-channel
+ uint8 g; ///< Green-channel
+ uint8 b; ///< Blue-channel
+ uint8 a; ///< Alpha-channel
+ uint8 m; ///< Remap-channel
+ uint8 v; ///< Brightness-channel
+ };
public:
/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
/* virtual */ void DrawColourMappingRect(void *dst, int width, int height, PaletteID pal);