22 #ifndef VOYEUR_VOYEUR_H 23 #define VOYEUR_VOYEUR_H 25 #include "voyeur/debugger.h" 26 #include "voyeur/data.h" 27 #include "voyeur/events.h" 28 #include "voyeur/files.h" 29 #include "voyeur/screen.h" 30 #include "voyeur/sound.h" 31 #include "common/scummsys.h" 32 #include "common/system.h" 33 #include "common/error.h" 34 #include "common/random.h" 35 #include "common/savefile.h" 36 #include "common/serializer.h" 37 #include "common/util.h" 38 #include "engines/engine.h" 39 #include "graphics/surface.h" 52 #define DEBUG_INTERMEDIATE 2 53 #define DEBUG_DETAILED 3 56 #define MANSION_MAX_X 784 57 #define MANSION_MAX_Y 150 58 #define MANSION_VIEW_X 40 59 #define MANSION_VIEW_Y 27 60 #define MANSION_VIEW_WIDTH 240 61 #define MANSION_VIEW_HEIGHT 148 62 #define MANSION_SCROLL_INC_X 4 63 #define MANSION_SCROLL_INC_Y 4 65 enum VoyeurDebugChannels {
69 enum VoyeurArea { AREA_NONE, AREA_APARTMENT, AREA_INTERFACE, AREA_ROOM, AREA_EVIDENCE };
71 struct VoyeurGameDescription;
85 void globalInitBolt();
87 void vInitInterrupts();
91 void showConversionScreen();
93 void showTitleScreen();
100 void showLogo8Intro();
110 void doClosingCredits();
130 void doTapePlaying();
135 bool checkForMurder();
140 bool checkForIncriminate();
145 void playAVideoEvent(
int eventIndex);
151 int getChooseButton();
161 void centerMansionView();
183 int _playStampGroupId;
187 const int *_resolvePtr;
189 int _checkTransitionId;
198 VoyeurArea _voyeurArea;
205 uint32 getFeatures()
const;
208 uint16 getVersion()
const;
209 bool getIsDemo()
const;
211 int getRandomNumber(
int maxNumber);
216 void loadGame(
int slot);
238 void makeViewFinder();
239 void makeViewFinderP();
241 void checkTransition();
242 int doComputerText(
int maxLen);
243 void getComputerBrush();
298 #define VOYEUR_SAVEGAME_VERSION 3 307 int _saveYear, _saveMonth, _saveDay;
308 int _saveHour, _saveMinutes;
Common::String getDayName()
void playAudio(int audioId)
EngineFeature
Definition: engine.h:282
Definition: savefile.h:54
Common::Error run() override
Common::String getTimeOfDay()
Definition: debugger.h:32
Definition: serializer.h:80
void doScroll(const Common::Point &pt)
void playAVideo(int videoId)
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
bool skipThumbnail(Common::SeekableReadStream &in)
void doEvidDisplay(int evidId, int eventId)
Definition: detection.h:27
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
Definition: animation.h:38
bool hasFeature(EngineFeature f) const override
void playAVideoDuration(int videoId, int duration)
Common::Error loadGameState(int slot) override
void flipPageAndWaitForFade()
Language
Definition: language.h:45