|
Compounds |
| class | cLine |
Enumerations |
| enum | {
WALKFLAG_NONE = 0x0,
WALKFLAG_MAP = 0x1,
WALKFLAG_STATIC = 0x2,
WALKFLAG_DYNAMIC = 0x4,
WALKFLAG_CHARS = 0x8,
WALKFLAG_ALL = 0xF
} |
| | Check flags for isWalkable function. More...
|
Functions |
| SI08 | isWalkable (Location pos, UI08 flags=WALKFLAG_ALL, P_CHAR pc=NULL) |
| | Looks if a char can walk on the given Location.
|
| LOGICAL | lineOfSight (Location pos1, Location pos2, SI32 checkfor=WALKFLAG_DYNAMIC+WALKFLAG_MAP+WALKFLAG_STATIC) |
| | Tells if the line of sight between two locations is not interrupted.
|
| LOGICAL | canNpcWalkHere (Location pos) |
| | Tells if an npc can move in the given position.
|
| SI08 | staticTop (Location pos) |
| SI08 | tileHeight (UI16 id) |
| SI08 | mapElevation (UI32 x, UI32 y) |
| SI08 | dynamicElevation (Location pos) |
| SI08 | getHeight (Location pos) |
| | Returns the estimated height of walker's position.
|
| void | getMultiCorners (P_ITEM pi, SI32 &x1, SI32 &y1, SI32 &x2, SI32 &y2) |
| SI32 | line_of_sight (Location a, Location b,SI32 checkfor=WALKFLAG_DYNAMIC+WALKFLAG_MAP+WALKFLAG_STATIC) |
| SI32 | line_of_sight (SI32 x1, SI32 y1, SI32 z1, SI32 x2, SI32 y2, SI32 z2, SI32 checkfor=WALKFLAG_DYNAMIC+WALKFLAG_MAP+WALKFLAG_STATIC) |