The Battle for Wesnoth  1.19.7+dev
Namespaces | Functions | Variables
map_settings.hpp File Reference

General settings and defaults for scenarios. More...

#include <string>
#include "game_classification.hpp"
Include dependency graph for map_settings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 settings
 Contains the general settings which have a default.
 

Functions

int settings::get_turns (const std::string &value)
 Gets the number of turns. More...
 
int settings::get_village_gold (const std::string &value, const game_classification *classification=nullptr)
 Gets the village gold. More...
 
int settings::get_village_support (const std::string &value)
 Gets the village unit level support. More...
 
int settings::get_xp_modifier (const std::string &value)
 Gets the xp modifier. More...
 

Variables

const int settings::turns_min = 1
 minimum number of turns More...
 
const int settings::turns_max = 100
 maximum number of turns More...
 
const int settings::turns_default = 100
 default number of turns More...
 
const int settings::turns_step = 1
 slider step size for turns More...
 

Detailed Description

General settings and defaults for scenarios.

Definition in file map_settings.hpp.