29 #include "common/scummsys.h" 30 #include "common/error.h" 31 #include "common/memstream.h" 32 #include "common/random.h" 33 #include "engines/engine.h" 34 #include "engines/savestate.h" 35 #include "graphics/screen.h" 39 #define SCREEN_WIDTH 320 40 #define SCREEN_HEIGHT 200 42 #define SHOULD_QUIT g_engine->shouldQuit() 43 #define SHOULD_QUIT_RETURN if (g_engine->shouldQuit()) return 44 #define SHOULD_QUIT_RETURN0 if (g_engine->shouldQuit()) return 0 46 struct ChewyGameDescription;
54 bool _canLoad =
false;
55 bool _canSave =
false;
74 Sound *_sound =
nullptr;
77 bool _showWalkAreas =
false;
83 uint32 getFeatures()
const;
92 void setCanLoadSave(
bool canLoadSave) {
93 _canLoad = canLoadSave;
94 _canSave = canLoadSave;
116 uint getRandomNumber(uint max) {
120 void playVideo(uint num);
Common::Error run() override
EngineFeature
Definition: engine.h:253
Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave) override
void showGmm(bool isInGame)
Definition: detection.h:27
Definition: video_player.h:29
void syncSoundSettings() override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: chewy.h:86
uint getRandomNumber(uint max)
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: chewy.h:89
Common::Error loadGameStream(Common::SeekableReadStream *stream) override
bool hasFeature(EngineFeature f) const override
Language
Definition: language.h:45