22 #ifndef TETRAEDGE_TETRAEDGE_H 23 #define TETRAEDGE_TETRAEDGE_H 25 #include "common/scummsys.h" 26 #include "common/system.h" 27 #include "common/error.h" 28 #include "common/events.h" 29 #include "common/fs.h" 30 #include "common/hash-str.h" 31 #include "common/random.h" 32 #include "common/serializer.h" 33 #include "common/util.h" 34 #include "engines/engine.h" 35 #include "engines/savestate.h" 36 #include "graphics/screen.h" 37 #include "graphics/renderer.h" 39 #include "tetraedge/detection.h" 43 struct TetraedgeGameDescription;
50 class TeResourceManager;
55 enum TetraedgeGameType {
72 enum TetraedgeGameType _gameType;
82 uint32 getFeatures()
const;
84 void closeGameDialogs();
95 bool isGameDemo()
const;
134 int getDefaultScreenWidth()
const;
135 int getDefaultScreenHeight()
const;
144 TetraedgeGameType gameType()
const {
return _gameType; }
145 bool gameIsAmerzone()
const {
return _gameType == kAmerzone; }
147 void openConfigDialog();
157 void configureSearchPaths();
158 void registerConfigDefaults();
Definition: detection.h:27
RendererType
Definition: renderer.h:45
EngineFeature
Definition: engine.h:253
Common::Error run() override
Definition: tetraedge.h:53
Definition: advancedDetector.h:163
bool hasFeature(EngineFeature f) const override
Definition: tetraedge.h:104
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
uint getRandomNumber(uint max)
Common::Error saveGameState(int slot, const Common::String &desc, bool isAutosave) override
Definition: te_resource_manager.h:40
Definition: serializer.h:79
Common::Error syncGame(Common::Serializer &s)
Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave=false) override
Definition: tetraedge.h:125
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: te_renderer.h:33
Definition: application.h:50
bool canSaveAutosaveCurrently() override
Common::Error loadGameStream(Common::SeekableReadStream *stream) override
Common::String getGameId() const
Definition: keyboard.h:294
uint32 getRandomNumber(uint maxNum)
Definition: tetraedge.h:100
Definition: te_sound_manager.h:33
Common::Error loadGameState(int slot) override
Language
Definition: language.h:45