|
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 | |
| 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 |
|
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(), Routing(), setCeiling(), setConn(), setFloor(), and setStepup().
|
inline |
Definition at line 275 of file typedefs.h.
References routes.
Definition at line 272 of file typedefs.h.
References routes.
Referenced by copyPosData(), Grid_Ceiling(), RT_AllCellsBelowAreFilled(), RT_CanActorStandHere(), RT_FindOpening(), RT_PlaceInit(), RT_TracePassage(), RT_UpdateConnection(), and RT_WriteCSVFiles().
|
inline |
Definition at line 294 of file typedefs.h.
References routes.
|
inline |
Definition at line 265 of file typedefs.h.
References routes.
|
inline |
Definition at line 262 of file typedefs.h.
References routes.
Referenced by copyPosData(), Grid_Fall(), Grid_Floor(), RT_CalcNewZ(), RT_CanActorStandHere(), RT_CheckCell(), RT_FillPassageData(), RT_MicroTrace(), RT_PlaceInit(), RT_TraceOnePassage(), RT_UpdateConnection(), and RT_WriteCSVFiles().
|
inline |
return the value without the flags for z-level change
Definition at line 305 of file typedefs.h.
References PATHFINDING_BIG_STEPDOWN, PATHFINDING_BIG_STEPUP, and routes.
|
inline |
|
inline |
Definition at line 308 of file typedefs.h.
References PATHFINDING_BIG_STEPDOWN, and routes.
|
inline |
Definition at line 311 of file typedefs.h.
References PATHFINDING_BIG_STEPUP, and routes.
|
inline |
Definition at line 269 of file typedefs.h.
References routes.
Referenced by copyPosData(), and RT_CheckCell().
|
inline |
Definition at line 288 of file typedefs.h.
References routes.
Referenced by copyPosData(), RT_ConnSetNoGo(), and RT_FillPassageData().
|
inline |
Definition at line 279 of file typedefs.h.
References CELL_HEIGHT, i, and routes.
Referenced by RT_CheckCell().
|
inline |
Definition at line 259 of file typedefs.h.
References routes.
Referenced by copyPosData(), and RT_CheckCell().
|
inline |
Definition at line 298 of file typedefs.h.
References routes.
Referenced by copyPosData(), RT_ConnSetNoGo(), and RT_StepupSet().
|
private |
routing table
Definition at line 250 of file typedefs.h.
Referenced by getCeiling(), getCeiling(), getConn(), getConn(), getFloor(), getFloor(), getStepup(), getStepupHeight(), init(), isStepDownLevel(), isStepUpLevel(), setCeiling(), setConn(), setFilled(), setFloor(), and setStepup().