25 #include "common/scummsys.h" 26 #include "common/system.h" 27 #include "common/error.h" 28 #include "common/fs.h" 29 #include "common/random.h" 30 #include "common/hash-str.h" 31 #include "common/util.h" 32 #include "engines/engine.h" 33 #include "engines/savestate.h" 34 #include "graphics/surface.h" 36 #include "ags/detection.h" 37 #include "ags/shared/gfx/bitmap.h" 38 #include "ags/lib/allegro/system.h" 54 #define SCREEN_WIDTH 320 55 #define SCREEN_HEIGHT 200 57 struct AGSGameDescription;
80 void set_window_title(
const char *str) {
84 uint32 getFeatures()
const;
120 void setGraphicsMode(
size_t w,
size_t h,
int depth);
124 (f == kSupportsLoadingDuringRuntime) ||
125 (f == kSupportsSavingDuringRuntime) ||
126 (f == kSupportsReturnToLauncher);
133 bool isUnsupportedPre25()
const;
138 bool is64BitGame()
const;
168 int getAutosaveSlot()
const override;
173 void syncSoundSettings()
override;
177 #define gfx_driver ::AGS::g_vm->_gfxDriver 178 #define SHOULD_QUIT ::AGS::g_vm->shouldQuit() Definition: achievements_tables.h:27
Definition: globals.h:185
EngineFeature
Definition: engine.h:250
Definition: detection.h:47
uint getRandomNumber(uint max)
bool hasFeature(EngineFeature f) const override
Definition: ags.h:122
void setRandomNumberSeed(uint32 seed)
Definition: ags.h:108
void setSeed(uint32 seed)
uint32 getRandomNumber(uint maxNum)
Definition: ags.h:101
Definition: detection.h:42