const advanced_pref_list & get_advanced_preferences()
Gets a list of the available advanced preferences.
t_string name
Displayed name.
std::vector< advanced_manager::option > advanced_pref_list
Definitions for the interface to Wesnoth Markup Language (WML).
std::string field
The actual field saved in the prefs file and by which this preference may be accessed.
config cfg
The full config, including type-specific options.
const std::vector< option > & get_preferences() const
avd_type type
The preference type.
Modify, read and display user preferences.
std::vector< option > prefs
advanced_manager(const game_config_view &gc)
option(const config &pref)
A config object defines a single node in a WML file, with access to child nodes.
void init_advanced_manager(const game_config_view &gc)
Initializes the manager singleton.
t_string description
Displayed description.