The Battle for Wesnoth  1.15.1+dev
Macros | Functions | Variables
synced_user_choice.cpp File Reference
#include "synced_user_choice.hpp"
#include "actions/undo.hpp"
#include "display.hpp"
#include "floating_label.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "play_controller.hpp"
#include "synced_context.hpp"
#include "replay.hpp"
#include "resources.hpp"
#include "gui/dialogs/multiplayer/synced_choice_wait.hpp"
#include <set>
#include <map>
#include "formula/string_utils.hpp"
#include "font/standard_colors.hpp"
Include dependency graph for synced_user_choice.cpp:

Go to the source code of this file.

Macros

#define DBG_REPLAY   LOG_STREAM(debug, log_replay)
 
#define LOG_REPLAY   LOG_STREAM(info, log_replay)
 
#define WRN_REPLAY   LOG_STREAM(warn, log_replay)
 
#define ERR_REPLAY   LOG_STREAM(err, log_replay)
 

Functions

static void wait_ingame (user_choice_manager &man)
 
static void wait_prestart (user_choice_manager &man)
 

Variables

static lg::log_domain log_replay ("replay")
 

Macro Definition Documentation

◆ DBG_REPLAY

#define DBG_REPLAY   LOG_STREAM(debug, log_replay)

◆ ERR_REPLAY

#define ERR_REPLAY   LOG_STREAM(err, log_replay)

◆ LOG_REPLAY

#define LOG_REPLAY   LOG_STREAM(info, log_replay)

Definition at line 34 of file synced_user_choice.cpp.

Referenced by mp_sync::get_user_choice().

◆ WRN_REPLAY

#define WRN_REPLAY   LOG_STREAM(warn, log_replay)

Definition at line 35 of file synced_user_choice.cpp.

Referenced by user_choice_manager::ask_local_choice().

Function Documentation

◆ wait_ingame()

static void wait_ingame ( user_choice_manager man)
static

◆ wait_prestart()

static void wait_prestart ( user_choice_manager man)
static

Variable Documentation

◆ log_replay

lg::log_domain log_replay("replay")
static