The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Functions | Variables
game_config.hpp File Reference
#include "color.hpp"
#include "tstring.hpp"
#include "game_config_view.hpp"
#include <vector>
#include <map>
#include <cstdint>
Include dependency graph for game_config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  game_config::server_info


 Game configuration data as global variables.


int game_config::kill_xp (int level)
int game_config::combat_xp (int level)
void game_config::set_debug (bool new_debug)
void game_config::load_config (const config &v)
void game_config::add_color_info (const game_config_view &v)
void game_config::reset_color_info ()
const std::vector< color_t > & game_config::tc_info (std::string_view name)
const color_rangegame_config::color_info (std::string_view name)
color_t game_config::red_to_green (double val, bool for_text=true)
 Return a color corresponding to the value val red for val=0.0 to green for val=100.0, passing by yellow. More...
color_t game_config::blue_to_white (double val, bool for_text)
std::string game_config::get_default_title_string ()


const std::string game_config::default_title_string