#include <AIPathfind.h>
Public Member Functions | |
| ZoneBlock () | |
| ~ZoneBlock () | |
| void | blockCalculateZones (PathfindCell **map, PathfindLayer layers[], const IRegion2D &bounds) |
| Does zone calculations. | |
| zoneStorageType | getEffectiveZone (LocomotorSurfaceTypeMask acceptableSurfaces, Bool crusher, zoneStorageType zone) const |
| void | clearMarkedPassable (void) |
| Bool | isPassable (void) |
| void | setPassable (Bool pass) |
| Bool | getInteractsWithBridge (void) const |
| void | setInteractsWithBridge (Bool interacts) |
Protected Member Functions | |
| void | allocateZones (void) |
| void | freeZones (void) |
This class is a helper class for zone manager. It maintains information regarding the LocomotorSurfaceTypeMask equivalencies within a ZONE_BLOCK_SIZE x ZONE_BLOCK_SIZE area of cells. This is used in hierarchical pathfinding to find the best coarse path at the block level.
Definition at line 452 of file AIPathfind.h.
| ZoneBlock::ZoneBlock | ( | ) |
Definition at line 1951 of file AIPathfind.cpp.
| ZoneBlock::~ZoneBlock | ( | ) |
Definition at line 1969 of file AIPathfind.cpp.
|
protected |
Definition at line 2130 of file AIPathfind.cpp.
| void ZoneBlock::blockCalculateZones | ( | PathfindCell ** | map, |
| PathfindLayer | layers[], | ||
| const IRegion2D & | bounds ) |
Does zone calculations.
Definition at line 1996 of file AIPathfind.cpp.
|
inline |
Definition at line 462 of file AIPathfind.h.
|
protected |
Definition at line 1974 of file AIPathfind.cpp.
| zoneStorageType ZoneBlock::getEffectiveZone | ( | LocomotorSurfaceTypeMask | acceptableSurfaces, |
| Bool | crusher, | ||
| zoneStorageType | zone ) const |
Definition at line 2066 of file AIPathfind.cpp.
|
inline |
Definition at line 466 of file AIPathfind.h.
|
inline |
Definition at line 463 of file AIPathfind.h.
|
inline |
Definition at line 467 of file AIPathfind.h.
|
inline |
Definition at line 464 of file AIPathfind.h.
|
protected |
Definition at line 474 of file AIPathfind.h.
|
protected |
Definition at line 485 of file AIPathfind.h.
|
protected |
Definition at line 476 of file AIPathfind.h.
|
protected |
Definition at line 482 of file AIPathfind.h.
|
protected |
Definition at line 484 of file AIPathfind.h.
|
protected |
Definition at line 483 of file AIPathfind.h.
|
protected |
Definition at line 486 of file AIPathfind.h.
|
protected |
Definition at line 487 of file AIPathfind.h.
|
protected |
Definition at line 477 of file AIPathfind.h.
|
protected |
Definition at line 481 of file AIPathfind.h.