Namespaces | Functions | Variables

settings.hpp File Reference

General settings and defaults for scenarios. More...

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

Go to the source code of this file.

Namespaces

namespace  settings
 

Contains the general settings which have a default.


Functions

int settings::get_turns (const std::string &value)
 Gets the number of turns.
int settings::get_village_gold (const std::string &value)
 Gets the village gold.
int settings::get_village_support (const std::string &value)
 Gets the village unit level support.
int settings::get_xp_modifier (const std::string &value)
 Gets the xp modifier.

Variables

const int settings::turns_min = 1
const int settings::turns_max = 100
const int settings::turns_default = 100
const int settings::turns_step = 1

Detailed Description

General settings and defaults for scenarios.

Definition in file settings.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:19 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs