The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
game.cpp File Reference
#include "global.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "game.hpp"
#include "player_network.hpp"
#include "serialization/string_utils.hpp"
#include "util.hpp"
#include <sstream>
#include <iomanip>
#include <cstdio>
Include dependency graph for game.cpp:

Go to the source code of this file.

Namespaces

 wesnothd
 

Macros

#define ERR_GAME   LOG_STREAM(err, log_server)
 
#define WRN_GAME   LOG_STREAM(warn, log_server)
 
#define LOG_GAME   LOG_STREAM(info, log_server)
 
#define DBG_GAME   LOG_STREAM(debug, log_server)
 
#define WRN_CONFIG   LOG_STREAM(warn, log_config)
 

Functions

static const simple_wml::nodewesnothd::get_multiplayer (const simple_wml::node &root)
 returns const so that operator [] won't create empty keys if not existent More...
 
static bool wesnothd::is_invalid_filename_char (char c)
 

Variables

static lg::log_domain log_server ("server")
 
static lg::log_domain log_config ("config")
 

Macro Definition Documentation

#define DBG_GAME   LOG_STREAM(debug, log_server)
#define ERR_GAME   LOG_STREAM(err, log_server)
#define LOG_GAME   LOG_STREAM(info, log_server)
#define WRN_CONFIG   LOG_STREAM(warn, log_config)

Definition at line 37 of file game.cpp.

Referenced by wesnothd::game::save_replay(), and wesnothd::game::send_history().

#define WRN_GAME   LOG_STREAM(warn, log_server)

Definition at line 33 of file game.cpp.

Referenced by wesnothd::game::missing_user().

Variable Documentation

const wesnothd::game& game_

Definition at line 1393 of file game.cpp.

Referenced by game::load_game_exception::load_game_exception().

lg::log_domain log_config("config")
static
lg::log_domain log_server("server")
static
const std::vector<int>& sides_

Definition at line 1394 of file game.cpp.