#include "global.hpp"
#include "game_config.hpp"
#include "color_range.hpp"
#include "config.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "util.hpp"
#include "version.hpp"
#include "wesconfig.h"
#include "serialization/string_utils.hpp"
Go to the source code of this file.
Namespaces | |
game_config | |
Game configuration data as global variables. | |
game_config::colors | |
game_config::images | |
game_config::sounds | |
game_config::sounds::status | |
Macros | |
#define | DBG_NG LOG_STREAM(debug, log_engine) |
#define | LOG_NG LOG_STREAM(info, log_engine) |
#define | ERR_NG LOG_STREAM(err, log_engine) |
Functions | |
void | game_config::load_config (const config &v) |
void | game_config::add_color_info (const config &v) |
const color_range & | game_config::color_info (const std::string &name) |
const std::vector< Uint32 > & | game_config::tc_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 () |
#define DBG_NG LOG_STREAM(debug, log_engine) |
Definition at line 31 of file game_config.cpp.
#define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 33 of file game_config.cpp.
Referenced by game_config::add_color_info(), game_config::load_config(), and game_config::tc_info().
#define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 32 of file game_config.cpp.
Referenced by game_config::add_color_info().
|
static |