diff options
author | Max Horn | 2005-06-04 16:10:39 +0000 |
---|---|---|
committer | Max Horn | 2005-06-04 16:10:39 +0000 |
commit | feac08c9f713c78330006ea60eb4f9e364ccc092 (patch) | |
tree | fe2aabea063e87bef5114fed1fc272f21af2e1fa /scumm/charset.h | |
parent | 83f9ebc373ca63d34efe2366fb7714b6ca67aef5 (diff) | |
download | scummvm-rg350-feac08c9f713c78330006ea60eb4f9e364ccc092.tar.gz scummvm-rg350-feac08c9f713c78330006ea60eb4f9e364ccc092.tar.bz2 scummvm-rg350-feac08c9f713c78330006ea60eb4f9e364ccc092.zip |
Fix for bug #1064658 (FM-TOWNS (Loom, Zak, Indy3): Dialog text shading incorrect)
svn-id: r18343
Diffstat (limited to 'scumm/charset.h')
-rw-r--r-- | scumm/charset.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/scumm/charset.h b/scumm/charset.h index 58228feb1b..98e8752c53 100644 --- a/scumm/charset.h +++ b/scumm/charset.h @@ -62,8 +62,6 @@ public: protected: byte _color; - byte _shadowColor; - bool _dropShadow; public: bool _center; @@ -117,10 +115,19 @@ protected: int _numChars; int _fontHeight; + enum ShadowMode { + kNoShadowMode, + kFMTOWNSShadowMode, + kNormalShadowMode + }; + byte _shadowColor; + ShadowMode _shadowMode; + + void enableShadow(bool enable); void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height); public: - CharsetRendererCommon(ScummEngine *vm) : CharsetRenderer(vm), _numChars(0), _fontHeight(0) {} + CharsetRendererCommon(ScummEngine *vm); void setCurID(byte id); |