UFO: Alien Invasion
|
#include <typedefs.h>
Public Member Functions | |
Routing () | |
void | init () |
void | setFloor (const int actorSize, const int x, const int y, const int z, const int val) |
signed char | getFloor (const actorSizeEnum_t actorSize, const pos3_t pos) const |
signed char | getFloor (const actorSizeEnum_t actorSize, const int x, const int y, const int z) const |
void | setCeiling (const actorSizeEnum_t actorSize, const int x, const int y, const int z, const int val) |
byte | getCeiling (const int actorSize, const pos3_t pos) const |
byte | getCeiling (const int actorSize, const int x, const int y, const int z) const |
void | setFilled (const actorSizeEnum_t actorSize, const int x, const int y, const int lowZ, const int highZ) |
void | setConn (const int actorSize, const int x, const int y, const int z, const int dir, const int val) |
byte | getConn (const int actorSize, const int x, const int y, const int z, const int dir) const |
byte | getConn (const actorSizeEnum_t actorSize, const pos3_t pos, const int dir) const |
void | setStepup (const int actorSize, const int x, const int y, const int z, const int dir, const int val) |
byte | getStepup (const int actorSize, const int x, const int y, const int z, const int dir) const |
byte | getStepupHeight (const int actorSize, const int x, const int y, const int z, const int dir) const |
return the value without the flags for z-level change More... | |
byte | isStepDownLevel (const actorSizeEnum_t actorSize, const pos3_t pos, const int dir) const |
byte | isStepUpLevel (const actorSizeEnum_t actorSize, const pos3_t pos, const int dir) const |
void | copyPosData (const Routing &other, actorSizeEnum_t actorSize, const int x, const int y, const int z, const int sX, const int sY, const int sZ) |
Private Attributes | |
routing_t | routes [ACTOR_MAX_SIZE] |
Definition at line 248 of file typedefs.h.
|
inline |
Definition at line 253 of file typedefs.h.
References init().
|
inline |
note: not sure if this function qualifies for being inlined. But if we didn't, we'd have to link routing.cpp to radiant, which is probably worse.
Definition at line 317 of file typedefs.h.
References CORE_DIRECTIONS, getCeiling(), getConn(), getFloor(), getStepup(), setCeiling(), setConn(), setFloor(), and setStepup().
Referenced by CMod_LoadRouting().
Definition at line 272 of file typedefs.h.
References routing_s::getCeiling().
Referenced by Step::checkVerticalDirections(), Step::checkWalkingDirections(), copyPosData(), Grid_Ceiling(), RT_AllCellsBelowAreFilled(), RT_CanActorStandHere(), RT_FindOpening(), RT_PlaceInit(), RT_TracePassage(), RT_UpdateConnection(), and RT_WriteCSVFiles().
|
inline |
Definition at line 275 of file typedefs.h.
References routing_s::getCeiling().
|
inline |
Definition at line 291 of file typedefs.h.
References routing_s::getConn().
Referenced by Step::checkFlyingDirections(), Step::checkWalkingDirections(), and copyPosData().
|
inline |
Definition at line 294 of file typedefs.h.
References routing_s::getConn().
|
inline |
Definition at line 262 of file typedefs.h.
References routing_s::getFloor().
Referenced by Step::checkFlyingDirections(), Step::checkVerticalDirections(), Step::checkWalkingDirections(), copyPosData(), DoRouting(), Grid_Fall(), Grid_Floor(), RT_CalcNewZ(), RT_CanActorStandHere(), RT_CheckCell(), RT_FillPassageData(), RT_MicroTrace(), RT_PlaceInit(), RT_TraceOnePassage(), RT_UpdateConnection(), RT_WriteCSVFiles(), and TEST_F().
|
inline |
Definition at line 265 of file typedefs.h.
References routing_s::getFloor().
|
inline |
Definition at line 301 of file typedefs.h.
References routing_s::getStepup().
Referenced by copyPosData().
|
inline |
return the value without the flags for z-level change
Definition at line 305 of file typedefs.h.
References routing_s::getStepup(), PATHFINDING_BIG_STEPDOWN, and PATHFINDING_BIG_STEPUP.
Referenced by Step::checkWalkingDirections().
Definition at line 256 of file typedefs.h.
References OBJZERO.
Referenced by DoRouting(), and Routing().
|
inline |
Definition at line 308 of file typedefs.h.
References routing_s::getStepup(), and PATHFINDING_BIG_STEPDOWN.
Referenced by Step::checkWalkingDirections().
|
inline |
Definition at line 311 of file typedefs.h.
References routing_s::getStepup(), and PATHFINDING_BIG_STEPUP.
Referenced by Step::checkWalkingDirections().
|
inline |
Definition at line 269 of file typedefs.h.
References routing_s::setCeiling().
Referenced by copyPosData(), and RT_CheckCell().
|
inline |
Definition at line 288 of file typedefs.h.
References routing_s::setConn().
Referenced by CMod_RerouteMap(), copyPosData(), RT_ConnSetNoGo(), and RT_FillPassageData().
|
inline |
Definition at line 279 of file typedefs.h.
References CELL_HEIGHT, i, routing_s::setCeiling(), and routing_s::setFloor().
Referenced by RT_CheckCell().
|
inline |
Definition at line 259 of file typedefs.h.
References routing_s::setFloor().
Referenced by copyPosData(), and RT_CheckCell().
|
inline |
Definition at line 298 of file typedefs.h.
References routing_s::setStepup().
Referenced by copyPosData(), RT_ConnSetNoGo(), and RT_StepupSet().
|
private |
routing table
Definition at line 250 of file typedefs.h.