aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/events.h')
-rw-r--r--engines/titanic/events.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/titanic/events.h b/engines/titanic/events.h
index 52e900c2ef..e14fbd8637 100644
--- a/engines/titanic/events.h
+++ b/engines/titanic/events.h
@@ -91,6 +91,7 @@ private:
Common::Stack<CEventTarget *> _eventTargets;
uint32 _frameCounter;
uint32 _priorFrameTime;
+ uint _totalFrames;
Common::Point _mousePos;
uint _specialButtons;
@@ -147,11 +148,21 @@ public:
uint32 getFrameCounter() const { return _frameCounter; }
/**
- * Get the elapsed playtime
+ * Return the current game ticks
*/
uint32 getTicksCount() const;
/**
+ * Get the total number of playtime frames/ticks
+ */
+ uint32 getTotalPlayTicks() const;
+
+ /**
+ * Set the total number of frames/ticks played
+ */
+ void setTotalPlayTicks(uint frames);
+
+ /**
* Sleep for a specified period of time
*/
void sleep(uint time);