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;
67 enum AGSSteamVersion { kAGSteam = 0, kWadjetEye = 1 };
68 enum AGSSpriteFontVersion { kAGSSpriteFont = 0, kClifftopGames = 1 };
88 void set_window_title(
const char *str) {
92 uint32 getFeatures()
const;
128 void setGraphicsMode(
size_t w,
size_t h,
int depth);
132 (f == kSupportsLoadingDuringRuntime) ||
133 (f == kSupportsSavingDuringRuntime) ||
134 (f == kSupportsReturnToLauncher);
141 bool isUnsupportedPre25()
const;
146 bool is64BitGame()
const;
176 int getAutosaveSlot()
const override;
181 void syncSoundSettings()
override;
185 #define gfx_driver ::AGS::g_vm->_gfxDriver 186 #define SHOULD_QUIT ::AGS::g_vm->shouldQuit() Definition: achievements_tables.h:27
Definition: globals.h:189
EngineFeature
Definition: engine.h:253
Definition: detection.h:47
uint getRandomNumber(uint max)
bool hasFeature(EngineFeature f) const override
Definition: ags.h:130
void setRandomNumberSeed(uint32 seed)
Definition: ags.h:116
void setSeed(uint32 seed)
uint32 getRandomNumber(uint maxNum)
Definition: ags.h:109