diff options
author | Travis Howell | 2007-06-09 05:30:20 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-09 05:30:20 +0000 |
commit | 14aa27c4771059382bf9e1094263e11eabfda428 (patch) | |
tree | f92e39f5c8d802e7a690ecd918fe5d00b0a07c1d /engines/agos/agos.h | |
parent | 4ae78ea22d741e1fe57a0aaa4cd2bf33d97cebc9 (diff) | |
download | scummvm-rg350-14aa27c4771059382bf9e1094263e11eabfda428.tar.gz scummvm-rg350-14aa27c4771059382bf9e1094263e11eabfda428.tar.bz2 scummvm-rg350-14aa27c4771059382bf9e1094263e11eabfda428.zip |
Add dirtyClips code for Simon the Sorcerer 1/2.
svn-id: r27227
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r-- | engines/agos/agos.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index 54e1107e7f..90bd73600e 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -90,7 +90,8 @@ struct VgaSprite { int16 x, y; uint16 flags; uint16 priority; - uint16 windowNum, zoneNum; + uint16 windowNum; + uint16 zoneNum; VgaSprite() { memset(this, 0, sizeof(*this)); } }; @@ -117,8 +118,9 @@ struct AnimTable { int16 y; uint16 width; uint16 height; - uint16 window; + uint16 windowNum; uint16 id; + uint16 zoneNum; AnimTable() { memset(this, 0, sizeof(*this)); } }; @@ -414,6 +416,7 @@ protected: bool _showPreposition; bool _showMessageFlag; + bool _newDirtyClip; uint _copyScnFlag, _vgaSpriteChanged; byte *_block, *_blockEnd; @@ -478,7 +481,7 @@ protected: HitArea _hitAreas[250]; - AnimTable _screenAnim1[60]; + AnimTable _screenAnim1[90]; VgaPointersEntry _vgaBufferPointers[450]; VgaSprite _vgaSprites[200]; VgaSleepStruct _waitEndTable[60]; @@ -1151,6 +1154,7 @@ protected: virtual void animateSprites(); void dirtyClips(); + void dirtyClipCheck(int16 x, int16 y, int16 w, int16 h); void dirtyBackGround(); void restoreBackGround(); void saveBackGround(VgaSprite *vsp); |