Classes | |
struct | dismiss_action |
struct | move_action |
struct | recall_action |
struct | recruit_action |
struct | auto_shroud_action |
Functions | |
static void | reset_adjacent (bool &halo_adjacent, unit_map &units, const map_location &loc) |
Reset halo of adjacent units when undo move. More... | |
static const unit_type & | get_unit_type (const config &cfg) |
Variables | |
static auto | red_undo_dismiss = undo_action_container::subaction_factory<dismiss_action>() |
static auto | reg_undo_move = undo_action_container::subaction_factory<move_action>() |
static auto | reg_undo_recall = undo_action_container::subaction_factory<recall_action>() |
static auto | reg_undo_recruit = undo_action_container::subaction_factory<recruit_action>() |
static auto | reg_auto_shroud = undo_action_container::subaction_factory<auto_shroud_action>() |
Definition at line 42 of file undo_recruit_action.cpp.
References unit_type_data::find(), config::mandatory_child(), and unit_types.
|
static |
Reset halo of adjacent units when undo move.
Definition at line 61 of file undo_move_action.cpp.
References unit_map::end(), unit_map::find(), get_adjacent_tiles(), i, and loc.
Referenced by actions::undo::move_action::undo().
|
static |
Definition at line 56 of file undo_dismiss_action.cpp.
|
static |
Definition at line 39 of file undo_update_shroud_action.cpp.
|
static |
Definition at line 127 of file undo_move_action.cpp.
|
static |
Definition at line 102 of file undo_recall_action.cpp.
|
static |
Definition at line 103 of file undo_recruit_action.cpp.