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/file.h" 30 #include "common/fs.h" 31 #include "common/hash-str.h" 32 #include "common/random.h" 33 #include "common/serializer.h" 34 #include "common/util.h" 35 #include "common/formats/xmlparser.h" 36 #include "engines/engine.h" 37 #include "engines/savestate.h" 38 #include "graphics/screen.h" 39 #include "graphics/renderer.h" 41 #include "tetraedge/detection.h" 45 struct TetraedgeGameDescription;
47 enum TETRAEDGEAction {
59 class TeResourceManager;
62 class TetraedgeFSNode;
72 bool isReadable()
const;
73 bool isDirectory()
const;
83 void maybeAddToSearchMan()
const;
91 enum TetraedgeGameType {
108 enum TetraedgeGameType _gameType;
121 uint32 getFeatures()
const;
123 void closeGameDialogs();
134 bool isUtf8Release()
const;
136 bool isGameDemo()
const;
147 (f == kSupportsLoadingDuringRuntime) ||
148 (f == kSupportsSavingDuringRuntime) ||
149 (f == kSupportsReturnToLauncher) ||
150 (f == kSupportsChangingOptionsDuringRuntime) ||
151 (f == kSupportsQuitDialogOverride);
156 bool canSaveAutosaveCurrently()
override;
175 int getDefaultScreenWidth()
const;
176 int getDefaultScreenHeight()
const;
185 TetraedgeGameType gameType()
const {
return _gameType; }
186 bool gameIsAmerzone()
const {
return _gameType == kAmerzone; }
188 void openConfigDialog();
198 void configureSearchPaths();
199 void registerConfigDefaults();
Definition: detection.h:27
RendererType
Definition: renderer.h:45
EngineFeature
Definition: engine.h:260
Definition: tetraedge.h:89
Definition: advancedDetector.h:164
Definition: tetraedge.h:65
bool hasFeature(EngineFeature f) const override
Definition: tetraedge.h:145
uint getRandomNumber(uint max)
uint32 CustomEventType
Definition: events.h:204
Definition: te_resource_manager.h:40
Definition: serializer.h:79
Definition: archive.h:141
Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave=false) override
Definition: tetraedge.h:166
Definition: xmlparser.h:98
Definition: te_renderer.h:33
Definition: tetraedge.h:64
ListMode
Definition: fs.h:86
Definition: application.h:50
uint32 getRandomNumber(uint maxNum)
Definition: tetraedge.h:141
Definition: te_sound_manager.h:33
Language
Definition: language.h:45