12 #ifndef GAME_CONFIG_HPP 13 #define GAME_CONFIG_HPP 15 #include "../script/script_config.hpp" bool ResetInfo(bool force_exact_match)
When ever the Game Scanner is reloaded, all infos become invalid.
static GameConfig * GetConfig(ScriptSettingSource source=SSS_DEFAULT)
Get the config of a company.
All static information from an Game like name, version, etc.
Get the Script config from the current game mode.
ScriptInfo * FindInfo(const char *name, int version, bool force_exact_match)
This function should call back to the Scanner in charge of this Config, to find the ScriptInfo belong...
All static information from an Script like name, version, etc.
ScriptSettingSource
Where to get the config from, either default (depends on current game mode) or force either newgame o...
int version
Version of the Script.
const char * name
Name of the Script.