Recruiting, recalling. More...
#include "create.hpp"#include "move.hpp"#include "undo.hpp"#include "vision.hpp"#include "config.hpp"#include "config_assign.hpp"#include "filter_context.hpp"#include "game_board.hpp"#include "game_display.hpp"#include "game_events/manager.hpp"#include "game_events/pump.hpp"#include "game_state.hpp"#include "game_preferences.hpp"#include "game_data.hpp"#include "gettext.hpp"#include "log.hpp"#include "map/map.hpp"#include "pathfind/pathfind.hpp"#include "recall_list_manager.hpp"#include "replay.hpp"#include "replay_helper.hpp"#include "resources.hpp"#include "statistics.hpp"#include "synced_checkup.hpp"#include "synced_context.hpp"#include "team.hpp"#include "units/unit.hpp"#include "units/udisplay.hpp"#include "units/filter.hpp"#include "variable.hpp"#include "whiteboard/manager.hpp"#include <boost/scoped_ptr.hpp>
Go to the source code of this file.
Namespaces | |
| actions | |
Macros | |
| #define | DBG_NG LOG_STREAM(debug, log_engine) |
| #define | LOG_NG LOG_STREAM(info, log_engine) |
| #define | ERR_NG LOG_STREAM(err, log_engine) |
Functions | |
| const std::set< std::string > | actions::get_recruits (int side, const map_location &recruit_location) |
| Gets the recruitable units from a side's leaders' personal recruit lists who can recruit on or from a specific hex field. More... | |
| std::vector< unit_const_ptr > | actions::get_recalls (int side, const map_location &recall_loc) |
| Gets the recallable units for a side, restricted by that side's leaders' personal abilities to recall on or from a specific hex field. More... | |
| RECRUIT_CHECK | actions::check_recall_location (const int side, map_location &recall_location, map_location &recall_from, const unit &unit_recall) |
| Checks if there is a location on which to recall unit_recall. More... | |
| std::string | actions::find_recall_location (const int side, map_location &recall_location, map_location &recall_from, const unit &unit_recall) |
| Finds a location on which to recall unit_recall. More... | |
| RECRUIT_CHECK | actions::check_recruit_location (const int side, map_location &recruit_location, map_location &recruited_from, const std::string &unit_type) |
| Checks if there is a location on which to place a recruited unit. More... | |
| std::string | actions::find_recruit_location (const int side, map_location &recruit_location, map_location &recruited_from, const std::string &unit_type) |
| Finds a location on which to place a unit. More... | |
| place_recruit_result | actions::place_recruit (unit_ptr u, const map_location &recruit_location, const map_location &recruited_from, int cost, bool is_recall, bool show, bool fire_event, bool full_movement, bool wml_triggered) |
| void | actions::recruit_unit (const unit_type &u_type, int side_num, const map_location &loc, const map_location &from, bool show, bool use_undo) |
| Recruits a unit of the given type for the given side. More... | |
| bool | actions::recall_unit (const std::string &id, team ¤t_team, const map_location &loc, const map_location &from, bool show, bool use_undo) |
| Recalls the unit with the indicated ID for the provided team. More... | |
Variables | |
| static lg::log_domain | log_engine ("engine") |
Recruiting, recalling.
Definition in file create.cpp.
| #define DBG_NG LOG_STREAM(debug, log_engine) |
Definition at line 57 of file create.cpp.
| #define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 59 of file create.cpp.
Referenced by actions::find_recall_location(), and actions::find_recruit_location().
| #define LOG_NG LOG_STREAM(info, log_engine) |
Definition at line 58 of file create.cpp.
Referenced by actions::find_recall_location(), actions::find_recruit_location(), actions::get_recalls(), actions::get_recruits(), and actions::place_recruit().
|
static |
1.8.8