29 #ifndef AGS_ENGINE_GAME_GAME_INIT_H 30 #define AGS_ENGINE_GAME_GAME_INIT_H 32 #include "ags/shared/game/main_game_file.h" 33 #include "ags/shared/util/string.h" 39 using namespace Shared;
42 enum GameInitErrorType {
46 kGameInitErr_TooManyAudioTypes,
47 kGameInitErr_EntityInitFail,
48 kGameInitErr_PluginNameInvalid,
49 kGameInitErr_NoGlobalScript,
50 kGameInitErr_ScriptLinkFailed
53 String GetGameInitErrorText(GameInitErrorType err);
55 typedef TypedCodeError<GameInitErrorType, GetGameInitErrorText> GameInitError;
56 typedef ErrorHandle<GameInitError> HGameInitError;
59 HGameInitError InitGameState(
const LoadedGameEntities &ents, GameDataVersion data_ver);
Definition: achievements_tables.h:27