The Battle for Wesnoth  1.15.1+dev
Macros | Variables
game_launcher.cpp File Reference
#include "game_launcher.hpp"
#include "game_errors.hpp"
#include "ai/manager.hpp"
#include "preferences/credentials.hpp"
#include "commandline_options.hpp"
#include "config.hpp"
#include "cursor.hpp"
#include "exceptions.hpp"
#include "filesystem.hpp"
#include "game_classification.hpp"
#include "game_config.hpp"
#include "game_config_manager.hpp"
#include "game_end_exceptions.hpp"
#include "generators/map_generator.hpp"
#include "gettext.hpp"
#include "gui/dialogs/end_credits.hpp"
#include "gui/dialogs/language_selection.hpp"
#include "gui/dialogs/loading_screen.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/multiplayer/mp_connect.hpp"
#include "gui/dialogs/multiplayer/mp_host_game_prompt.hpp"
#include "gui/dialogs/multiplayer/mp_method_selection.hpp"
#include "gui/dialogs/outro.hpp"
#include "gui/dialogs/preferences_dialog.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/dialogs/title_screen.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/retval.hpp"
#include "language.hpp"
#include "log.hpp"
#include "map/exception.hpp"
#include "game_initialization/multiplayer.hpp"
#include "game_initialization/create_engine.hpp"
#include "game_initialization/playcampaign.hpp"
#include "preferences/general.hpp"
#include "preferences/display.hpp"
#include "savegame.hpp"
#include "scripting/application_lua_kernel.hpp"
#include "sdl/surface.hpp"
#include "serialization/compression.hpp"
#include "serialization/string_utils.hpp"
#include "game_initialization/singleplayer.hpp"
#include "statistics.hpp"
#include "tstring.hpp"
#include "utils/general.hpp"
#include "video.hpp"
#include "wesnothd_connection_error.hpp"
#include "wml_exception.hpp"
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <new>
#include <utility>
#include <SDL2/SDL.h>

Go to the source code of this file.

Macros

#define ERR_CONFIG   LOG_STREAM(err, log_config)
 
#define WRN_CONFIG   LOG_STREAM(warn, log_config)
 
#define LOG_CONFIG   LOG_STREAM(info, log_config)
 
#define LOG_GENERAL   LOG_STREAM(info, lg::general())
 
#define WRN_GENERAL   LOG_STREAM(warn, lg::general())
 
#define DBG_GENERAL   LOG_STREAM(debug, lg::general())
 
#define DBG_MP   LOG_STREAM(debug, log_mp_create)
 
#define ERR_NET   LOG_STREAM(err, log_network)
 
#define LOG_RG   LOG_STREAM(info, log_enginerefac)
 

Variables

static lg::log_domain log_config ("config")
 
static lg::log_domain log_mp_create ("mp/create")
 
static lg::log_domain log_network ("network")
 
static lg::log_domain log_enginerefac ("enginerefac")
 

Macro Definition Documentation

◆ DBG_GENERAL

#define DBG_GENERAL   LOG_STREAM(debug, lg::general())

◆ DBG_MP

#define DBG_MP   LOG_STREAM(debug, log_mp_create)

Definition at line 96 of file game_launcher.cpp.

Referenced by game_launcher::play_multiplayer_commandline().

◆ ERR_CONFIG

#define ERR_CONFIG   LOG_STREAM(err, log_config)

Definition at line 87 of file game_launcher.cpp.

Referenced by game_launcher::play_multiplayer().

◆ ERR_NET

#define ERR_NET   LOG_STREAM(err, log_network)

Definition at line 99 of file game_launcher.cpp.

Referenced by game_launcher::play_multiplayer().

◆ LOG_CONFIG

#define LOG_CONFIG   LOG_STREAM(info, log_config)

Definition at line 89 of file game_launcher.cpp.

Referenced by game_launcher::load_game().

◆ LOG_GENERAL

#define LOG_GENERAL   LOG_STREAM(info, lg::general())

Definition at line 91 of file game_launcher.cpp.

Referenced by game_launcher::start_wesnothd().

◆ LOG_RG

#define LOG_RG   LOG_STREAM(info, log_enginerefac)

Definition at line 102 of file game_launcher.cpp.

◆ WRN_CONFIG

#define WRN_CONFIG   LOG_STREAM(warn, log_config)

Definition at line 88 of file game_launcher.cpp.

◆ WRN_GENERAL

#define WRN_GENERAL   LOG_STREAM(warn, lg::general())

Definition at line 92 of file game_launcher.cpp.

Referenced by game_launcher::start_wesnothd().

Variable Documentation

◆ log_config

lg::log_domain log_config("config")
static

◆ log_enginerefac

lg::log_domain log_enginerefac("enginerefac")
static

◆ log_mp_create

lg::log_domain log_mp_create("mp/create")
static

◆ log_network

lg::log_domain log_network("network")
static