17 #ifndef MP_GAME_SETTINGS_HPP_INCLUDED
18 #define MP_GAME_SETTINGS_HPP_INCLUDED
25 #include <boost/optional.hpp>
68 (DEFAULT,
N_(
"Independent"))
69 (NO_MIRROR,
N_(
"No Mirror"))
70 (NO_ALLY_MIRROR,
N_(
"No Ally Mirror"))
81 explicit addon_version_info(
const config &);
85 std::map<std::string, addon_version_info>
addons;
boost::optional< version_info > version
std::string random_faction_mode()
boost::optional< version_info > min_version
Definitions for the interface to Wesnoth Markup Language (WML).
std::string mp_scenario_name
MAKE_ENUM(RANDOM_FACTION_MODE,(DEFAULT, N_("Independent"))(NO_MIRROR, N_("No Mirror"))(NO_ALLY_MIRROR, N_("No Ally Mirror"))) RANDOM_FACTION_MODE random_faction_mode
std::vector< std::string > active_mods
int mp_countdown_action_bonus
void update_addon_requirements(const config &addon_cfg)
int mp_countdown_reservoir_time
int mp_countdown_init_time
std::map< std::string, addon_version_info > addons
std::map< std::string, std::string > side_users
int mp_countdown_turn_bonus
A config object defines a single node in a WML file, with access to child nodes.
bool registered_users_only
Interfaces for manipulating version numbers of engine, add-ons, etc.
void write(std::ostream &out, configr_of const &cfg, unsigned int level)
Defines the MAKE_ENUM macro.
GLsizei const GLcharARB ** string