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 {
82 int _tagMap[QDSCR_MAX_KEYWORD_ID];
87 bool _forceFullRedraw =
false;
93 uint32 getFeatures()
const;
102 const char *getExeName()
const;
111 void setSeed(uint32 seed) {
117 (f == kSupportsLoadingDuringRuntime) ||
118 (f == kSupportsSavingDuringRuntime) ||
119 (f == kSupportsReturnToLauncher);
132 void syncSoundSettings()
override;
136 const Vect2i &screen_offset() {
137 return _screen_offset;
139 void set_screen_offset(
const Vect2i &offset) {
140 _screen_offset = offset;
144 int _thumbSizeX = 0, _thumbSizeY = 0;
145 bool _debugDraw =
false;
146 bool _debugDrawGrid =
false;
147 bool _debugDrawPath =
false;
148 int _gameVersion = 0;
163 void init_graphics();
167 #define SHOULD_QUIT ::QDEngine::g_engine->shouldQuit()
EngineFeature
Definition: engine.h:260
Definition: gr_dispatcher.h:85
Definition: advancedDetector.h:164
bool hasFeature(EngineFeature f) const override
Definition: qdengine.h:115
uint getRandomNumber(uint max)
Definition: atari-screen.h:58
Обозначает отсутствие шрифта
Definition: qd_screen_text.h:39
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: qdengine.h:125
Базовый класс для игровых ресурсов.
Definition: console.h:28
uint32 getRandomNumber(uint maxNum)
Definition: qdengine.h:107
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: qdengine.h:122
Definition: formatinfo.h:28
Definition: qdengine.h:67
Definition: qd_game_dispatcher.h:43
Прямоугольная область на экране.
Definition: gr_screen_region.h:31
void setSeed(uint32 seed)
Language
Definition: language.h:45