32 , parameters_(state_.mp_settings())
33 , initial_(initial ? initial : &state_.get_starting_point())
65 return VGETTEXT(
"$login|’s game", i18n_symbols);
127 ?
initial_cfg()[
"random_start_time"].to_bool(
false)
176 scenario[
"random_start_time"] =
true;
179 scenario[
"random_start_time"] =
false;
182 scenario[
"experience_modifier"] = params.
xp_modifier;
192 if(side[
"fog"].empty()) {
196 if(side[
"shroud"].empty()) {
200 if(side[
"village_gold"].empty()) {
204 if(side[
"village_support"].empty()) {
std::string random_faction_mode()
std::map< std::string, t_string > string_map
void set_options(const config &values)
child_itors child_range(config_key_type key)
bool is_normal_mp_game() const
int get_village_gold(const std::string &value, const game_classification *classification)
Gets the village gold.
int countdown_init_time()
int get_village_support(const std::string &value)
Gets the village unit level support.
int countdown_turn_bonus()
int countdown_reservoir_time()
config & get_starting_point()
General settings and defaults for scenarios.
int get_xp_modifier(const std::string &value)
Gets the xp modifier.
static bool is_start_ToD(const std::string &)
static std::optional< typename T::type > get_enum(const std::string value)
Convert a string into its enum equivalent.
game_classification & classification()
int countdown_action_bonus()
A config object defines a single node in a WML file, with access to child nodes.
mp_game_settings & mp_settings()
Multiplayer parameters for this game.
int get_turns(const std::string &value)
Gets the number of turns.