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...
std::vector< achievement_group > & get_list()
A config object defines a single node in a WML file, with access to child nodes.
Singleton class to manage game config file caching.
void load_game_config_with_loadscreen(FORCE_RELOAD_CONFIG force_reload, const game_classification *classification, const std::string &scenario_id)
@ FORCE_RELOAD
Always reload config.
@ NO_INCLUDE_RELOAD
Don't reload if the previous defines include the new defines.
@ NO_FORCE_RELOAD
Don't reload if the previous defines equal the new defines.
std::map< std::string, config > addon_cfgs_
bool init_game_config(FORCE_RELOAD_CONFIG force_reload)
achievements achievements_
static game_config_manager * get()
void load_game_config_for_game(const game_classification &classification, const std::string &scenario_id)
void load_game_config(bool reload_everything, const game_classification *classification, const std::string &scenario_id)
game_config_manager & operator=(const game_config_manager &)=delete
std::set< std::string > active_addons_
void load_game_config_for_create(bool is_mp, bool is_test=false)
filesystem::binary_paths_manager paths_manager_
void set_enabled_addon_all()
game_config_view game_config_view_
const preproc_map & old_defines_map() const
preproc_map old_defines_map_
game_config::config_cache & cache_
std::shared_ptr< terrain_type_data > tdata_
game_config_manager(const game_config_manager &)=delete
void set_enabled_addon(const std::set< std::string > &addon_ids)
void set_multiplayer_hashes()
const std::shared_ptr< terrain_type_data > & terrain_types() const
std::vector< achievement_group > & get_achievements()
void reload_changed_game_config()
game_config_manager(const commandline_options &cmdline_opts)
const game_config_view & game_config() const
const commandline_options & cmdline_opts_
void load_game_config_for_editor()
A class grating read only view to a vector of config objects, viewed as one config with all children ...
Definitions for the interface to Wesnoth Markup Language (WML).
Declarations for File-IO.
game_classification * classification
std::map< std::string, struct preproc_define > preproc_map
The paths manager is responsible for recording the various paths that binary files may be located at.