From 81541a5f049c4dd8ec10a9c13b163cf478bdc921 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 5 Jan 2019 17:16:42 -0800 Subject: GLK: FROTZ: Properly handle picture transparency --- engines/glk/raw_decoder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/glk/raw_decoder.h') diff --git a/engines/glk/raw_decoder.h b/engines/glk/raw_decoder.h index 96f25c2512..086cf2555f 100644 --- a/engines/glk/raw_decoder.h +++ b/engines/glk/raw_decoder.h @@ -45,6 +45,7 @@ private: Graphics::Surface _surface; byte *_palette; uint16 _paletteColorCount; + int _transColor; public: RawDecoder(); ~RawDecoder(); @@ -54,6 +55,7 @@ public: virtual const Graphics::Surface *getSurface() const override { return &_surface; } virtual const byte *getPalette() const override { return _palette; } virtual uint16 getPaletteColorCount() const override { return _paletteColorCount; } + int getTransparentColor() const { return _transColor; } }; } // End of namespace Glk -- cgit v1.2.3