89 std::shared_ptr<terrain_type_data>
tdata_;
This class is responsible for reading all available achievements from mainline's and any add-ons' ach...
void load_game_config(bool reload_everything, const game_classification *classification, const std::string &scenario_id)
Don't reload if the previous defines include the new defines.
void set_enabled_addon_all()
game_classification * classification
void load_game_config_with_loadscreen(FORCE_RELOAD_CONFIG force_reload, const game_classification *classification, const std::string &scenario_id)
filesystem::binary_paths_manager paths_manager_
The paths manager is responsible for recording the various paths that binary files may be located at...
void load_game_config_for_game(const game_classification &classification, const std::string &scenario_id)
achievements achievements_
Don't reload if the previous defines equal the new defines.
Definitions for the interface to Wesnoth Markup Language (WML).
const std::shared_ptr< terrain_type_data > & terrain_types() const
void load_game_config_for_editor()
std::set< std::string > active_addons_
std::vector< achievement_group > & get_achievements()
preproc_map old_defines_map_
const game_config_view & game_config() const
game_config_view game_config_view_
void set_multiplayer_hashes()
void set_enabled_addon(std::set< std::string > addon_ids)
void load_game_config_for_create(bool is_mp, bool is_test=false)
Declarations for File-IO.
void operator=(const game_config_manager &)
game_config_manager(const commandline_options &cmdline_opts)
const preproc_map & old_defines_map() const
const commandline_options & cmdline_opts_
game_config::config_cache & cache_
std::map< std::string, struct preproc_define > preproc_map
void reload_changed_game_config()
A config object defines a single node in a WML file, with access to child nodes.
bool init_game_config(FORCE_RELOAD_CONFIG force_reload)
std::map< std::string, config > addon_cfgs_
std::vector< achievement_group > & get_list()
std::shared_ptr< terrain_type_data > tdata_
Singleton class to manage game config file caching.