#include "utility.hpp"#include "manager.hpp"#include "actions.hpp"#include "foreach.hpp"#include "game_display.hpp"#include "map.hpp"#include "play_controller.hpp"#include "resources.hpp"#include "team.hpp"#include "unit.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | wb |
Functions | |
| size_t | wb::viewer_team () |
| int | wb::viewer_side () |
| side_actions_ptr | wb::viewer_actions () |
| side_actions_ptr | wb::current_side_actions () |
| unit const * | wb::find_backup_leader (unit const &leader) |
| For a given leader on a keep, find another leader on another keep in the same castle. | |
| unit * | wb::find_recruiter (size_t team_index, map_location const &) |
| unit * | wb::future_visible_unit (map_location hex, int viewer_side=wb::viewer_side()) |
| Applies the future unit map and. | |
| unit * | wb::future_visible_unit (int on_side, map_location hex, int viewer_side=wb::viewer_side()) |
| Applies the future unit map and. | |
| int | wb::path_cost (std::vector< map_location > const &path, unit const &u) |
| Computes the MP cost for u to travel path. | |
| void | wb::ghost_owner_unit (unit *unit) |
| void | wb::unghost_owner_unit (unit *unit) |
| bool | wb::has_actions () |
| Return whether the whiteboard has actions. | |
Definition in file utility.cpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:11 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |