aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/surface.h')
-rw-r--r--engines/draci/surface.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/draci/surface.h b/engines/draci/surface.h
index cc1dff806b..20df29d7f9 100644
--- a/engines/draci/surface.h
+++ b/engines/draci/surface.h
@@ -46,9 +46,18 @@ public:
void setTransparentColour(uint8 colour);
private:
- bool _fullUpdate;
+ /** The current transparent colour of the surface. See getTransparentColour() and
+ * setTransparentColour().
+ */
uint8 _transparentColour;
- Common::List<Common::Rect> _dirtyRects;
+
+ /** Set when the surface is scheduled for a full update.
+ * See markDirty(), markClean(). Accessed via needsFullUpdate().
+ */
+ bool _fullUpdate;
+
+ Common::List<Common::Rect> _dirtyRects; //!< List of currently dirty rectangles
+
};
} // End of namespace Draci