UFO: Alien Invasion
|
Go to the source code of this file.
Functions | |
static int | CheckUnit (unsigned int unitnum) |
static void | CheckUnitThread (unsigned int unitnum) |
A wrapper for CheckUnit that is thread safe. More... | |
static void | CheckConnectionsThread (unsigned int unitnum) |
void | DoRouting (void) |
Calculates the routing of a map. More... | |
Variables | |
static Routing | Nmap |
static ipos3_t | wpMins |
world min and max values converted from vec to pos More... | |
static ipos3_t | wpMaxs |
Definition at line 84 of file routing.cpp.
References CORE_DIRECTIONS, mapTiles, PATHFINDING_WIDTH, RT_IS_BIDIRECTIONAL, RT_UpdateConnectionColumn(), VERB_EXTRA, Verb_Printf(), wpMaxs, and wpMins.
Referenced by DoRouting().
Definition at line 41 of file routing.cpp.
References mapTiles, PATHFINDING_HEIGHT, PATHFINDING_WIDTH, RT_CheckCell(), wpMaxs, and wpMins.
Referenced by CheckUnitThread().
A wrapper for CheckUnit that is thread safe.
Definition at line 72 of file routing.cpp.
References CheckUnit(), and PATHFINDING_HEIGHT.
Referenced by DoRouting().
Calculates the routing of a map.
This is needed for tracing to work!!!
Definition at line 115 of file routing.cpp.
References ACTOR_MAX_SIZE, baseFilename, CELL_HEIGHT, CheckConnectionsThread(), CheckUnitThread(), CompressRouting(), config, CORE_DIRECTIONS, curTile, debugTrace, EmitBrushes(), EmitPlanes(), Routing::getFloor(), i, Routing::init(), LEVEL_ACTORCLIP, LittleLong, MakeTracingNodes(), mapTiles, MAX_MAP_ROUTING, AABB::maxs, AABB::mins, PATHFINDING_HEIGHT, PATHFINDING_WIDTH, PopInfo(), PushInfo(), dMapTile_t::routedata, dMapTile_t::routedatasize, RT_GetMapSize(), RT_IS_BIDIRECTIONAL, RT_WriteCSVFiles(), RunSingleThreadOn(), UNIT_HEIGHT, VecToPos, VectorCopy, VectorSet, VERB_NORMAL, wpMaxs, and wpMins.
Referenced by ProcessWorldModel().
|
static |
The routing tables
Definition at line 32 of file routing.cpp.
|
static |
Definition at line 35 of file routing.cpp.
Referenced by CheckConnectionsThread(), CheckUnit(), DoRouting(), and mapTiles_s::getTilesAt().
|
static |
world min and max values converted from vec to pos
Definition at line 35 of file routing.cpp.
Referenced by CheckConnectionsThread(), CheckUnit(), DoRouting(), and mapTiles_s::getTilesAt().