22 #ifndef NEVERHOOD_NEVERHOOD_H 23 #define NEVERHOOD_NEVERHOOD_H 25 #include "common/scummsys.h" 26 #include "common/events.h" 27 #include "common/keyboard.h" 28 #include "common/random.h" 29 #include "common/savefile.h" 30 #include "common/str-array.h" 31 #include "common/system.h" 32 #include "engines/engine.h" 33 #include "gui/debugger.h" 34 #include "neverhood/console.h" 35 #include "neverhood/messages.h" 46 class AudioResourceMan;
72 const char *getGameId()
const;
77 bool isBigDemo()
const;
78 bool applyResourceFixes()
const;
83 int16 _mouseX, _mouseY;
100 enum kReadSaveHeaderError {
102 kRSHEInvalidType = 1,
103 kRSHEInvalidVersion = 2,
126 bool savegame(
const char *filename,
const char *description);
127 bool loadgame(
const char *filename);
132 GameState& gameState() {
return _gameState; }
133 GameModule *gameModule() {
return _gameModule; }
134 int16 getMouseX()
const {
return _mouseX; }
135 int16 getMouseY()
const {
return _mouseY; }
138 void toggleSoundUpdate(
bool state) { _updateSound = state; }
139 void toggleMusic(
bool state) { _enableMusic = state; }
140 bool musicIsEnabled() {
return _enableMusic; }
141 bool shouldOffsetFontNhc()
const {
return _nhcOffsetFont; }
144 return _haveSubtitles ? _subFont :
nullptr;
Definition: background.h:30
Definition: staticdata.h:93
EngineFeature
Definition: engine.h:253
Definition: neverhood.h:60
Definition: advancedDetector.h:163
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: neverhood.h:120
Definition: atari-screen.h:60
Definition: resourceman.h:107
bool skipThumbnail(Common::SeekableReadStream &in)
Definition: neverhood.h:55
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: neverhood.h:121
Definition: neverhood.h:50
Definition: gamevars.h:173
Definition: gamemodule.h:30
Definition: graphics.h:32
Language
Definition: language.h:45