diff options
Diffstat (limited to 'engines/gob/video.h')
-rw-r--r-- | engines/gob/video.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/gob/video.h b/engines/gob/video.h index e6baf9a67d..f539fa76e0 100644 --- a/engines/gob/video.h +++ b/engines/gob/video.h @@ -26,6 +26,9 @@ #ifndef GOB_VIDEO_H #define GOB_VIDEO_H +#include "common/list.h" +#include "common/rect.h" + #include "gob/gob.h" namespace Gob { @@ -158,6 +161,11 @@ public: void setFullPalette(PalDesc *palDesc); void setPalette(Color *palette); + void dirtyRectsClear(); + void dirtyRectsAll(); + void dirtyRectsAdd(int16 left, int16 top, int16 right, int16 bottom); + void dirtyRectsApply(int left, int top, int width, int height, int x, int y); + virtual char spriteUncompressor(byte *sprBuf, int16 srcWidth, int16 srcHeight, int16 x, int16 y, int16 transp, SurfaceDesc *destDesc) = 0; @@ -168,6 +176,9 @@ public: protected: class VideoDriver *_videoDriver; + bool _dirtyAll; + Common::List<Common::Rect> _dirtyRects; + int _curSparse; uint32 _lastSparse; |