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 "graphics/screen.h" 38 #define SCREEN_WIDTH 320 39 #define SCREEN_HEIGHT 200 41 #define SHOULD_QUIT g_engine->shouldQuit() 42 #define SHOULD_QUIT_RETURN if (g_engine->shouldQuit()) return 43 #define SHOULD_QUIT_RETURN0 if (g_engine->shouldQuit()) return 0 45 struct ChewyGameDescription;
53 bool _canLoad =
false;
54 bool _canSave =
false;
73 Sound *_sound =
nullptr;
76 bool _showWalkAreas =
false;
82 uint32 getFeatures()
const;
91 void setCanLoadSave(
bool canLoadSave) {
92 _canLoad = canLoadSave;
93 _canSave = canLoadSave;
115 uint getRandomNumber(uint max) {
119 void playVideo(uint num);
Common::Error run() override
EngineFeature
Definition: engine.h:250
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:85
uint getRandomNumber(uint max)
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: chewy.h:88
Common::Error loadGameStream(Common::SeekableReadStream *stream) override
bool hasFeature(EngineFeature f) const override
Language
Definition: language.h:45