The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
undo_move_action.cpp File Reference
#include "actions/undo_move_action.hpp"
#include "resources.hpp"
#include "units/map.hpp"
#include "units/animation_component.hpp"
#include "log.hpp"
#include "game_display.hpp"
#include "units/udisplay.hpp"
#include "units/unit.hpp"
#include "game_board.hpp"
Include dependency graph for undo_move_action.cpp:

Go to the source code of this file.

Namespaces

 actions
 
 actions::undo
 

Macros

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

Functions

static void actions::undo::reset_adjacent (bool &halo_adjacent, unit_map &units, const map_location &loc)
 Reset halo of adjacent units when undo move. More...
 

Variables

static lg::log_domain log_engine ("engine")
 
static auto actions::undo::reg_undo_move = undo_action_container::subaction_factory<move_action>()
 

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 27 of file undo_move_action.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 28 of file undo_move_action.cpp.

Variable Documentation

◆ log_engine

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