diff options
author | Paul Gilbert | 2014-12-14 15:39:37 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-14 15:39:37 -0500 |
commit | 831a3f7f3591182ab0e7b8812e98c12282923909 (patch) | |
tree | 8a0b9bc16df280696fe5e438de9acbe23d293d32 /engines/access/screen.h | |
parent | fda4ef620f3eefc76d7362945d514e6c46187073 (diff) | |
download | scummvm-rg350-831a3f7f3591182ab0e7b8812e98c12282923909.tar.gz scummvm-rg350-831a3f7f3591182ab0e7b8812e98c12282923909.tar.bz2 scummvm-rg350-831a3f7f3591182ab0e7b8812e98c12282923909.zip |
ACCESS: Implement dirty rect merging
Diffstat (limited to 'engines/access/screen.h')
-rw-r--r-- | engines/access/screen.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/access/screen.h b/engines/access/screen.h index 7134afffeb..775cb6b0c3 100644 --- a/engines/access/screen.h +++ b/engines/access/screen.h @@ -63,9 +63,13 @@ private: int _startCycle; int _cycleStart; int _endCycle; - Common::Array<Common::Rect> _dirtyRects; + Common::List<Common::Rect> _dirtyRects; void updatePalette(); + + void mergeDirtyRects(); + + bool unionRectangle(Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2); public: int _vesaMode; int _startColor, _numColors; |