25#include "common/scummsys.h"
26#include "common/serializer.h"
27#include "voyeur/files.h"
31#define TOTAL_EVENTS 1000
41enum EventFlag { EVTFLAG_TIME_DISABLED = 1, EVTFLAG_2 = 2, EVTFLAG_8 = 8, EVTFLAG_RECORDING = 0x10,
42 EVTFLAG_40 = 0x40, EVTFLAG_VICTIM_PRESET = 0x80, EVTFLAG_100 = 0x100 };
48 VoyeurEventType _type;
77 for (
int hotspotIdx = 0; hotspotIdx < 20; ++hotspotIdx) {
78 for (
int slotIdx = 0; slotIdx < SLOTS; ++slotIdx) {
79 _min[slotIdx][hotspotIdx] = 9999;
80 _max[slotIdx][hotspotIdx] = 0;
89 for (
int slotIndex = 0; slotIndex < SLOTS; ++slotIndex) {
90 for (
int hotspotIndex = 0; hotspotIndex < 20; ++hotspotIndex) {
91 s.syncAsSint16LE(_min[slotIndex][hotspotIndex]);
92 s.syncAsSint16LE(_max[slotIndex][hotspotIndex]);
101 bool isInRange(
int slotIndex,
int hotspotIndex,
int v)
const {
102 return _min[slotIndex][hotspotIndex] <= v &&
103 v < _max[slotIndex][hotspotIndex];
112 bool _abortInterface;
114 bool _phoneCallsReceived[5];
115 bool _roomHotspotsEnabled[32];
116 bool _victimMurdered;
119 int _audioVisualStartTime;
120 int _audioVisualDuration;
123 int _computerTimeMin;
124 int _computerTimeMax;
132 int _incriminatedVictimNumber;
133 int _murderThreshold;
137 int _totalPhoneCalls;
140 int _vocSecondsOffset;
165 void addEvent(
int hour,
int minute, VoyeurEventType type,
int audioVideoId,
166 int on,
int off,
int dead);
Definition: serializer.h:80
void synchronize(Common::Serializer &s)
Definition: data.h:88
void reset()
Definition: data.h:76
bool isInRange(int slotIndex, int hotspotIndex, int v) const
Definition: data.h:101
void reviewAnEvidEvent(int eventIndex)
void addVideoEventStart()
void addEvent(int hour, int minute, VoyeurEventType type, int audioVideoId, int on, int off, int dead)
void reviewComputerEvent(int eventIndex)
void addAudioEventStart()
void synchronize(Common::Serializer &s)
void addComputerEventStart()
void addComputerEventEnd(int v)
void addEvidEventStart(int v)
void addEvidEventEnd(int totalPages)
Definition: animation.h:38