22 #ifndef HOPKINS_HOPKINS_H 23 #define HOPKINS_HOPKINS_H 25 #include "hopkins/anim.h" 26 #include "hopkins/computer.h" 27 #include "hopkins/debugger.h" 28 #include "hopkins/dialogs.h" 29 #include "hopkins/events.h" 30 #include "hopkins/files.h" 31 #include "hopkins/font.h" 32 #include "hopkins/globals.h" 33 #include "hopkins/graphics.h" 34 #include "hopkins/lines.h" 35 #include "hopkins/menu.h" 36 #include "hopkins/objects.h" 37 #include "hopkins/saveload.h" 38 #include "hopkins/script.h" 39 #include "hopkins/sound.h" 40 #include "hopkins/talk.h" 42 #include "common/scummsys.h" 43 #include "common/system.h" 44 #include "common/error.h" 45 #include "common/random.h" 46 #include "common/hash-str.h" 47 #include "common/util.h" 48 #include "engines/engine.h" 49 #include "graphics/surface.h" 61 #define SCREEN_WIDTH 640 62 #define SCREEN_HEIGHT 480 73 enum HopkinsDebugChannels {
75 kDebugGraphics = 1 << 1
82 #define MKTAG24(a0,a1,a2) ((uint32)((a2) | (a1) << 8 | ((a0) << 16))) 84 struct HopkinsGameDescription;
91 void initializeSystem();
93 void displayNotAvailable();
96 void displayEndDemo();
98 void handleConflagration();
99 void playSubmarineCutscene();
100 void playUnderwaterBaseCutscene();
101 void playPlaneCutscene();
103 bool isUnderwaterSubScene();
121 void handleOceanMouseEvents();
122 void setSubmarineSprites();
123 void handleOceanMaze(int16 curExitId,
const Common::Path &backgroundFilename, Directions defaultDirection, int16 exit1, int16 exit2, int16 exit3, int16 exit4, int16 soundId);
125 void displayCredits(
int startPosY, byte *buffer,
char color);
126 void displayCredits();
127 void handleNotAvailable(
int nextScreen);
136 bool displayAdultDisclaimer();
164 uint32 getFeatures()
const;
167 uint16 getVersion()
const;
168 bool getIsDemo()
const;
171 int getRandomNumber(
int maxNumber);
EngineFeature
Definition: engine.h:253
bool hasFeature(EngineFeature f) const override
Definition: detection.h:27
Common::Error loadGameState(int slot) override
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: globals.h:182
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
Definition: objects.h:147
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: graphics.h:51
Definition: saveload.h:48
Common::Error run() override
void syncSoundSettings() override
Definition: computer.h:35
Language
Definition: language.h:45