25 #include "common/error.h" 26 #include "common/random.h" 27 #include "common/serializer.h" 28 #include "engines/engine.h" 29 #include "graphics/pixelformat.h" 31 #include "qdengine/qd_fwd.h" 32 #include "qdengine/parser/qdscr_parser.h" 33 #include "qdengine/qdcore/qd_screen_text.h" 43 struct QDEngineGameDescription;
45 class qdGameDispatcher;
47 enum QDEngineDebugChannels {
81 int _tagMap[QDSCR_MAX_KEYWORD_ID];
86 bool _forceFullRedraw =
false;
92 uint32 getFeatures()
const;
101 const char *getExeName()
const;
110 void setSeed(uint32 seed) {
116 (f == kSupportsLoadingDuringRuntime) ||
117 (f == kSupportsSavingDuringRuntime) ||
118 (f == kSupportsReturnToLauncher);
131 void syncSoundSettings()
override;
135 const Vect2i &screen_offset() {
136 return _screen_offset;
138 void set_screen_offset(
const Vect2i &offset) {
139 _screen_offset = offset;
143 int _thumbSizeX = 0, _thumbSizeY = 0;
144 bool _debugDraw =
false;
145 bool _debugDrawGrid =
false;
146 int _gameVersion = 0;
161 void init_graphics();
165 #define SHOULD_QUIT ::QDEngine::g_engine->shouldQuit()
EngineFeature
Definition: engine.h:253
Definition: gr_dispatcher.h:84
Definition: advancedDetector.h:163
bool hasFeature(EngineFeature f) const override
Definition: qdengine.h:114
uint getRandomNumber(uint max)
Definition: atari-screen.h:60
Обозначает отсутствие шрифта
Definition: qd_screen_text.h:39
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: qdengine.h:124
Базовый класс для игровых ресурсов.
Definition: console.h:28
uint32 getRandomNumber(uint maxNum)
Definition: qdengine.h:106
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: qdengine.h:121
Definition: formatinfo.h:28
Definition: qdengine.h:66
Definition: qd_game_dispatcher.h:43
Прямоугольная область на экране.
Definition: gr_screen_region.h:31
void setSeed(uint32 seed)
Language
Definition: language.h:45