The Battle for Wesnoth  1.19.5+dev
Macros | Functions | Variables
carryover_show_gold.cpp File Reference
#include "carryover_show_gold.hpp"
#include "log.hpp"
#include "team.hpp"
#include "game_state.hpp"
#include "gettext.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "formula/string_utils.hpp"
#include "map/map.hpp"
#include "serialization/markup.hpp"
#include <cassert>
Include dependency graph for carryover_show_gold.cpp:

Go to the source code of this file.

Macros

#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define ERR_NG   LOG_STREAM(err, log_engine)
 

Functions

void carryover_show_gold (game_state &state, bool hidden, bool is_observer, bool is_test)
 calculates the amount of gold carried over for each team, stores the data in the team object and shows the carryover message More...
 

Variables

static lg::log_domain log_engine ("engine")
 

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 30 of file carryover_show_gold.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 29 of file carryover_show_gold.cpp.

Function Documentation

◆ carryover_show_gold()

void carryover_show_gold ( game_state state,
bool  hidden,
bool  is_observer,
bool  is_test 
)

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine") ( "engine"  )
static