31 int val = lexical_cast_default<int>(value);
47 return lexical_cast_default<int>(value, 1);
52 return lexical_cast_default<int>(value, 70);
bool is_normal_mp_game() const
New lexcical_cast header.
General settings and defaults for scenarios.
game_classification * classification
Contains the general settings which have a default.
const int turns_min
minimum number of turns
int get_village_support(const std::string &value)
Gets the village unit level support.
int get_turns(const std::string &value)
Gets the number of turns.
int get_xp_modifier(const std::string &value)
Gets the xp modifier.
const int turns_max
maximum number of turns
const int turns_default
default number of turns
int get_village_gold(const std::string &value, const game_classification *classification)
Gets the village gold.