The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions | Variables
game_config.hpp File Reference
#include "tstring.hpp"
#include <vector>
#include <map>
#include <stdint.h>
Include dependency graph for game_config.hpp:

Go to the source code of this file.

Classes

struct  game_config::server_info
 

Namespaces

 game_config
 Game configuration data as global variables.
 
 game_config::colors
 
 game_config::images
 
 game_config::sounds
 
 game_config::sounds::status
 

Functions

int game_config::kill_xp (int level)
 
void game_config::load_config (const config &v)
 
void game_config::add_color_info (const config &v)
 
const std::vector< Uint32 > & game_config::tc_info (const std::string &name)
 
const color_rangegame_config::color_info (const std::string &name)
 
Uint32 game_config::red_to_green (int val, bool for_text=true)
 Return a color corresponding to the value val red for val=0 to green for val=100, passing by yellow. More...
 
Uint32 game_config::blue_to_white (int val, bool for_text)
 
std::string game_config::get_default_title_string ()
 

Variables

const std::string game_config::default_title_string
 
double game_config::hex_semi_brightening