22 #ifndef AGS_ENGINE_MAIN_ENGINE_H 23 #define AGS_ENGINE_MAIN_ENGINE_H 25 #include "ags/shared/util/ini_util.h" 29 const char *get_engine_name();
30 const char *get_engine_version();
31 AGS::Shared::String get_engine_version_and_build();
34 void engine_init_game_settings();
35 int initialize_engine(
const AGS::Shared::ConfigTree &startup_opts);
37 struct DisplayModeSetup;
41 bool engine_try_set_gfxmode_any(
const DisplayModeSetup &setup);
44 bool engine_try_switch_windowed_gfxmode();
46 void engine_on_window_changed(
const Size &sz);
48 void engine_shutdown_gfxmode();
50 using AGS::Shared::String;
64 bool VoiceAvail =
false;
74 void engine_assign_assetpaths();
78 typedef void (*t_engine_pre_init_callback)(void);
79 extern void engine_set_pre_init_callback(t_engine_pre_init_callback callback);