The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
game.cpp File Reference
#include "server/wesnothd/game.hpp"
#include "filesystem.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "serialization/chrono.hpp"
#include "server/wesnothd/player_network.hpp"
#include "server/wesnothd/server.hpp"
#include "utils/math.hpp"
#include <iomanip>
#include <sstream>
#include <boost/coroutine/exceptions.hpp>
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

◆ DBG_GAME

#define DBG_GAME   LOG_STREAM(debug, log_server)

Definition at line 35 of file game.cpp.

◆ ERR_GAME

#define ERR_GAME   LOG_STREAM(err, log_server)

Definition at line 32 of file game.cpp.

◆ LOG_GAME

#define LOG_GAME   LOG_STREAM(info, log_server)

Definition at line 34 of file game.cpp.

◆ WRN_CONFIG

#define WRN_CONFIG   LOG_STREAM(warn, log_config)

Definition at line 38 of file game.cpp.

◆ WRN_GAME

#define WRN_GAME   LOG_STREAM(warn, log_server)

Definition at line 33 of file game.cpp.

Variable Documentation

◆ log_config

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

◆ log_server

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