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;
52 class TeResourceManager;
55 class TetraedgeFSNode;
65 bool isReadable()
const;
66 bool isDirectory()
const;
76 void maybeAddToSearchMan()
const;
84 enum TetraedgeGameType {
101 enum TetraedgeGameType _gameType;
114 uint32 getFeatures()
const;
116 void closeGameDialogs();
127 bool isUtf8Release()
const;
129 bool isGameDemo()
const;
140 (f == kSupportsLoadingDuringRuntime) ||
141 (f == kSupportsSavingDuringRuntime) ||
142 (f == kSupportsReturnToLauncher) ||
143 (f == kSupportsChangingOptionsDuringRuntime) ||
144 (f == kSupportsQuitDialogOverride);
149 bool canSaveAutosaveCurrently()
override;
168 int getDefaultScreenWidth()
const;
169 int getDefaultScreenHeight()
const;
178 TetraedgeGameType gameType()
const {
return _gameType; }
179 bool gameIsAmerzone()
const {
return _gameType == kAmerzone; }
181 void openConfigDialog();
191 void configureSearchPaths();
192 void registerConfigDefaults();
Definition: detection.h:27
RendererType
Definition: renderer.h:45
EngineFeature
Definition: engine.h:253
Definition: tetraedge.h:82
Definition: advancedDetector.h:163
Definition: tetraedge.h:58
bool hasFeature(EngineFeature f) const override
Definition: tetraedge.h:138
uint getRandomNumber(uint max)
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:159
Definition: xmlparser.h:98
Definition: te_renderer.h:33
Definition: tetraedge.h:57
ListMode
Definition: fs.h:86
Definition: application.h:50
Definition: keyboard.h:294
uint32 getRandomNumber(uint maxNum)
Definition: tetraedge.h:134
Definition: te_sound_manager.h:33
Language
Definition: language.h:45