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
77 kActionBaseToggleTextures,
79 kActionWBASEEnhancementsNavigationMap,
80 kActionWBASEEnhancementsAutoplay
83enum HopkinsDebugChannels {
92#define MKTAG24(a0,a1,a2) ((uint32)((a2) | (a1) << 8 | ((a0) << 16)))
94struct HopkinsGameDescription;
106 void initializeSystem();
107 bool canTeleportToRoom(
int roomId)
const;
109 void displayNotAvailable();
110 void restoreSystem();
112 void displayEndDemo();
113 void bombExplosion();
114 void handleConflagration();
115 void playSubmarineCutscene();
116 void playUnderwaterBaseCutscene();
117 void playPlaneCutscene();
119 bool isUnderwaterSubScene();
137 void handleOceanMouseEvents();
138 void setSubmarineSprites();
139 void handleOceanMaze(int16 curExitId,
const Common::Path &backgroundFilename, Directions defaultDirection, int16 exit1, int16 exit2, int16 exit3, int16 exit4, int16 soundId);
141 void displayCredits(
int startPosY,
byte *buffer,
char color);
142 void displayCredits();
143 void handleNotAvailable(
int nextScreen);
152 bool displayAdultDisclaimer();
180 uint32 getFeatures()
const;
183 uint16 getVersion()
const;
184 bool getIsDemo()
const;
187 int getRandomNumber(
int maxNumber);
EngineFeature
Definition: engine.h:282
Definition: computer.h:35
Definition: debugger.h:32
Definition: globals.h:182
Definition: graphics.h:51
Common::Error run() override
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave=false) override
Common::Error loadGameState(int slot) override
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
bool hasFeature(EngineFeature f) const override
void syncSoundSettings() override
Definition: objects.h:147
Definition: saveload.h:48
Language
Definition: language.h:45
Definition: detection.h:27