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_AREA_X 20 63 #define MANSION_SCROLL_AREA_Y 20 64 #define MANSION_SCROLL_INC_X 4 65 #define MANSION_SCROLL_INC_Y 4 67 enum VoyeurDebugChannels {
68 kDebugScripts = 1 << 0
71 enum VoyeurArea { AREA_NONE, AREA_APARTMENT, AREA_INTERFACE, AREA_ROOM, AREA_EVIDENCE };
73 struct VoyeurGameDescription;
82 void globalInitBolt();
84 void vInitInterrupts();
88 void showConversionScreen();
90 void showTitleScreen();
97 void showLogo8Intro();
107 void doClosingCredits();
127 void doTapePlaying();
132 bool checkForMurder();
137 bool checkForIncriminate();
142 void playAVideoEvent(
int eventIndex);
148 int getChooseButton();
158 void centerMansionView();
180 int _playStampGroupId;
184 const int *_resolvePtr;
186 int _checkTransitionId;
195 VoyeurArea _voyeurArea;
202 uint32 getFeatures()
const;
205 uint16 getVersion()
const;
206 bool getIsDemo()
const;
208 int getRandomNumber(
int maxNumber);
213 void loadGame(
int slot);
235 void makeViewFinder();
236 void makeViewFinderP();
238 void checkTransition();
239 int doComputerText(
int maxLen);
240 void getComputerBrush();
295 #define VOYEUR_SAVEGAME_VERSION 3 304 int _saveYear, _saveMonth, _saveDay;
305 int _saveHour, _saveMinutes;
Common::String getDayName()
void playAudio(int audioId)
EngineFeature
Definition: engine.h:253
Definition: savefile.h:54
Common::Error run() override
Common::String getTimeOfDay()
Definition: debugger.h:32
Definition: serializer.h:79
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