|
Defines |
#define | DEF_ACTION(name, code, args, prepfn, netprepfn, DOFN, checkfn, ARGDECL, doc) extern int DOFN ARGDECL; |
Enumerations |
enum | { over_nothing = 0,
over_own = 1,
over_border = 2,
over_all = 3
} |
Functions |
void | allocate_used_cells (Unit *unit) |
void | free_used_cells (Unit *unit) |
int | has_enough_mp (Unit *unit, Unit *unit2, int mp) |
int | can_have_enough_mp (Unit *unit, Unit *unit2, int mp) |
int | type_max_speed_from_any_occs (int u) |
int | type_max_speed (int u) |
int | could_move (int uactor, int umover) |
| Could uactor move umover?
|
int | can_move (Unit *actor, Unit *mover) |
| Can a given unit move?
|
int | prep_move_action (Unit *unit, Unit *unit2, int x, int y, int z) |
int | do_move_action (Unit *unit, Unit *unit2, int x, int y, int z) |
int | check_move_action (Unit *unit, Unit *unit2, int x, int y, int z) |
int | can_move_via_conn (Unit *unit, int nx, int ny) |
int | unit_speed (Unit *unit, int nx, int ny) |
int | move_unit (Unit *unit, int nx, int ny) |
void | change_control_side_around (int x, int y, int u, Side *side) |
int | can_move_at_all (Unit *unit) |
int | in_blocking_zoc (Unit *unit, int x, int y, int z) |
int | unit_blockable_by (Unit *unit, Unit *unit2) |
int | total_move_cost (int u, int u2, int x1, int y1, int z1, int x2, int y2, int z2) |
int | zoc_range (Unit *unit, int u2) |
int | zoc_move_cost (Unit *unit, int ox, int oy, int oz) |
int | prep_enter_action (Unit *unit, Unit *unit2, Unit *newtransport) |
int | do_enter_action (Unit *unit, Unit *unit2, Unit *newtransport) |
int | check_enter_action (Unit *unit, Unit *unit2, Unit *newtransport) |
int | sides_allow_entry (Unit *unit, Unit *transport) |
int | terrain_always_impassable (int u, int t) |
int | type_can_move_in_terrain (int u, int t) |
int | type_can_have_enough_mp (int u, int mp) |
Variables |
int | retreating |
| Retreat flag.
|
int | retreating_from |
| Type of Unit from which a Unit is retreating.
|
int * | cache__type_max_speed_from_any_occs = NULL |
int * | cache__type_max_speed = NULL |