aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/toon.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon/toon.h')
-rw-r--r--engines/toon/toon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/toon/toon.h b/engines/toon/toon.h
index f3370aed5e..dca6bfe78e 100644
--- a/engines/toon/toon.h
+++ b/engines/toon/toon.h
@@ -334,6 +334,10 @@ public:
(f == kSupportsSavingDuringRuntime);
}
+ void dirtyAllScreen();
+ void addDirtyRect(int32 left, int32 top, int32 right, int32 bottom);
+ void clearDirtyRects();
+
protected:
OSystem *_system;
int32 _tickLength;
@@ -371,6 +375,11 @@ protected:
bool _updatingSceneScriptRunFlag;
Graphics::Surface *_mainSurface;
+ Common::Array<Common::Rect> _dirtyRects;
+ Common::Array<Common::Rect> _oldDirtyRects;
+
+ bool _dirtyAll;
+
AnimationInstance *_cursorAnimationInstance;
Animation *_cursorAnimation;