diff options
author | Paul Gilbert | 2015-05-12 22:02:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-12 22:02:59 -0400 |
commit | 7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e (patch) | |
tree | bff0492cc1fe7216ab67279594b7c8d3f26a9f21 /engines/sherlock/screen.h | |
parent | 44fbef5498070ee12fddb42c067d943e56d22f0e (diff) | |
download | scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.tar.gz scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.tar.bz2 scummvm-rg350-7a46c84c0d02ec3fb5aa9d607519af8fbcd2715e.zip |
SHERLOCK: Beginnings of Rose Tattoo engine
Diffstat (limited to 'engines/sherlock/screen.h')
-rw-r--r-- | engines/sherlock/screen.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/sherlock/screen.h b/engines/sherlock/screen.h index 501506f8ec..25389166d0 100644 --- a/engines/sherlock/screen.h +++ b/engines/sherlock/screen.h @@ -67,6 +67,15 @@ private: int _fontHeight; Surface _sceneSurface; + // Rose Tattoo fields + int _fadeBytesRead, _fadeBytesToRead; + int _oldFadePercent; + byte _lookupTable[PALETTE_COUNT]; + byte _lookupTable1[PALETTE_COUNT]; + int _scrollSize; + int _currentScroll; + int _targetScroll; +private: void mergeDirtyRects(); bool unionRectangle(Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2); @@ -80,6 +89,7 @@ public: bool _fadeStyle; byte _cMap[PALETTE_SIZE]; byte _sMap[PALETTE_SIZE]; + byte _tMap[PALETTE_SIZE]; public: Screen(SherlockEngine *vm); virtual ~Screen(); @@ -132,6 +142,15 @@ public: int fontNumber() const { return _fontNumber; } void synchronize(Common::Serializer &s); + + // Rose Tattoo specific methods + void initPaletteFade(int bytesToRead); + + int fadeRead(Common::SeekableReadStream &stream, byte *buf, int totalSize); + + void setupBGArea(const byte cMap[PALETTE_SIZE]); + + void initScrollVars(); }; } // End of namespace Sherlock |