14 #ifndef GAME_CONFIG_H_INCLUDED
15 #define GAME_CONFIG_H_INCLUDED
47 return level ? kill_experience * level : kill_experience / 2;
std::string game_user_leave
std::map< std::string, color_range > team_rgb_range
const std::vector< Uint32 > & tc_info(const std::string &name)
const std::string menu_expand
std::string default_victory_music
std::string private_message
double hex_semi_brightening
std::string selected_menu
const std::string slider_adjust
std::string friend_message
GLuint const GLfloat * val
std::string get_default_title_string()
const std::string default_title_string
const std::string menu_select
std::string unchecked_menu
std::string enemy_orb_color
std::string address
may include ':' followed by port number
void load_config(const config &v)
Uint32 red_to_green(int val, bool for_text)
Return a color corresponding to the value val red for val=0 to green for val=100, passing by yellow...
std::string ally_orb_color
std::string default_defeat_music
std::string deselected_menu
unsigned lobby_network_timer
std::string ready_for_start
const int gold_carryover_percentage
Default percentage gold carried over to the next scenario.
void add_color_info(const config &v)
std::string game_user_arrive
bool ignore_replay_errors
const version_info test_version("test")
std::string foot_teleport_enter
std::string game_title_background
const size_t max_loop
The maximum number of hexes on a map and items in an array and also used as maximum in wml loops...
std::string shroud_prefix
std::string default_terrain
std::string moved_orb_color
GLuint GLuint64EXT address
std::string server_message
std::string unmoved_orb_color
const std::string revision
Game configuration data as global variables.
std::string public_message
Uint32 blue_to_white(int val, bool for_text)
const std::string menu_contract
A color range definition is made of four reference RGB colors, used for calculating conversions from ...
std::vector< Uint32 > red_green_scale
std::vector< std::string > foot_speed_prefix
const version_info wesnoth_version(VERSION)
Represents version numbers.
GLuint const GLchar * name
std::string player_leaves
const std::string button_press
std::string foot_teleport_exit
static std::map< std::string, std::string > images
std::map< std::string, std::vector< Uint32 > > team_rgb_colors
const color_range & color_info(const std::string &name)
std::vector< Uint32 > red_green_scale_text
std::string partial_orb_color
A config object defines a single node in a WML file, with access to child nodes.
const version_info min_savegame_version(MIN_SAVEGAME_VERSION)
std::map< std::string, t_string > team_rgb_name
std::string game_has_begun
const std::string version
GLsizei const GLcharARB ** string
std::vector< server_info > server_list
std::string wesnoth_program_dir
std::string default_preferences_path
const std::string observer_team_name
observer team name used for observer team chat
const std::string checkbox_release
int cache_compression_level