diff options
author | Paul Gilbert | 2019-01-05 17:16:42 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-01-05 17:16:42 -0800 |
commit | 81541a5f049c4dd8ec10a9c13b163cf478bdc921 (patch) | |
tree | 5e2beb823694ddb2c9b3d882d998ac0a0a4b59d9 /engines/glk/raw_decoder.h | |
parent | bde504281311953bd99db087471b798da39ed143 (diff) | |
download | scummvm-rg350-81541a5f049c4dd8ec10a9c13b163cf478bdc921.tar.gz scummvm-rg350-81541a5f049c4dd8ec10a9c13b163cf478bdc921.tar.bz2 scummvm-rg350-81541a5f049c4dd8ec10a9c13b163cf478bdc921.zip |
GLK: FROTZ: Properly handle picture transparency
Diffstat (limited to 'engines/glk/raw_decoder.h')
-rw-r--r-- | engines/glk/raw_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |