aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-01-05 20:56:14 -0500
committerPaul Gilbert2014-01-05 20:56:14 -0500
commit1fb73446e3358a2fe045647c8cb5d1b621d43ce7 (patch)
treef2827d5ef343c4557d82d2eff8c95a1ce4d4f603 /engines/voyeur/events.h
parentc884d5bf1488db9d05b0afb0088768a97f6b1b52 (diff)
downloadscummvm-rg350-1fb73446e3358a2fe045647c8cb5d1b621d43ce7.tar.gz
scummvm-rg350-1fb73446e3358a2fe045647c8cb5d1b621d43ce7.tar.bz2
scummvm-rg350-1fb73446e3358a2fe045647c8cb5d1b621d43ce7.zip
VOYEUR: Clean up of some of the startup code
Diffstat (limited to 'engines/voyeur/events.h')
-rw-r--r--engines/voyeur/events.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/voyeur/events.h b/engines/voyeur/events.h
index e7aedd5218..bd119f2fb8 100644
--- a/engines/voyeur/events.h
+++ b/engines/voyeur/events.h
@@ -101,7 +101,15 @@ public:
int _field4EE;
int _field4F0;
int _field4F2;
+
+ /**
+ * Total number of game events that have occurred
+ */
int _eventCount;
+
+ /**
+ * List of game events that have occurred
+ */
VoyeurEvent _events[TOTAL_EVENTS];
int _timeStart;
@@ -126,6 +134,12 @@ public:
int _curICF1;
int _fadeICF0;
int _policeEvent;
+public:
+ /**
+ * Add an event to the list of game events that have occurred
+ */
+ void addEvent(int hour, int minute, VoyeurEventType type, int videoId, int on,
+ int off, int dead);
};
class IntData {