aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.h
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-05 22:36:59 -0500
committerPaul Gilbert2013-12-05 22:36:59 -0500
commit9922353f5618a2f3b0371b02cca14707fbdc5a4b (patch)
treeeae2c3d27e5c68871b2b959bde2862926210a7b9 /engines/voyeur/events.h
parent75c960081c1a729c9f356c622ef9b2d9e0911f9d (diff)
downloadscummvm-rg350-9922353f5618a2f3b0371b02cca14707fbdc5a4b.tar.gz
scummvm-rg350-9922353f5618a2f3b0371b02cca14707fbdc5a4b.tar.bz2
scummvm-rg350-9922353f5618a2f3b0371b02cca14707fbdc5a4b.zip
VOYEUR: Implemented addVideoEventStart and dependent variable initialisation
Diffstat (limited to 'engines/voyeur/events.h')
-rw-r--r--engines/voyeur/events.h37
1 files changed, 21 insertions, 16 deletions
diff --git a/engines/voyeur/events.h b/engines/voyeur/events.h
index efc7ac4c47..47a6c5ab3c 100644
--- a/engines/voyeur/events.h
+++ b/engines/voyeur/events.h
@@ -50,15 +50,13 @@ public:
IntNode(uint16 curTime, uint16 timeReset, uint16 flags);
};
-class Event {
+class VoyeurEvent {
public:
- int _hours;
- int _minutes;
- int _seconds;
- int _type;
- int _data1;
- int _data2;
- byte *_data;
+ int _computerNum;
+ int _computerBut[4];
+ int _computerOn;
+ int _computerOff;
+ int _dead;
};
class SVoy {
@@ -98,14 +96,16 @@ public:
int _phones[5];
int _numPhonesUsed;
int _evidence[20];
- int _computerNum;
- int _computerBut;
- int _computerOn;
- int _computerOff;
- int _dead;
- int _deadTime;
- int _eventCnt;
- Event _eventTable[1000];
+ VoyeurEvent _events[1000];
+ int _field4376;
+ int _field4378;
+ int _field437A;
+ int _field437C;
+ int _field437E;
+ int _field4380;
+ int _field4382;
+ int _field4384;
+ byte *_field4386;
int _curICF0;
int _curICF1;
int _fadeICF0;
@@ -170,6 +170,11 @@ public:
int _fadeFirstCol, _fadeLastCol;
int _fadeCount;
int _fadeStatus;
+
+ int _videoComputerNum;
+ int _videoComputerBut1;
+ int _videoComputerBut4;
+ int _videoDead;
public:
EventsManager();
void setVm(VoyeurEngine *vm) { _vm = vm; }