The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
settings.cpp File Reference

General settings and defaults for scenarios. More...

#include "global.hpp"
#include "settings.hpp"
#include "serialization/string_utils.hpp"
#include "util.hpp"
Include dependency graph for settings.cpp:

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...
 

Detailed Description

General settings and defaults for scenarios.

Definition in file settings.cpp.