|
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. | |
| static void | CheckConnectionsThread (unsigned int unitnum) |
| void | DoRouting (void) |
| Calculates the routing of a map. | |
Variables | |
| static Routing | Nmap |
| static ipos3_t | wpMins |
| world min and max values converted from vec to pos | |
| static ipos3_t | wpMaxs |
Definition at line 84 of file routing.cpp.
References CORE_DIRECTIONS, mapTiles, Nmap, 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, Nmap, 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, data, debugTrace, EmitBrushes(), EmitPlanes(), i, LEVEL_ACTORCLIP, LittleLong, MakeTracingNodes(), mapTiles, MAX_MAP_ROUTING, AABB::maxs, AABB::mins, Nmap, PATHFINDING_HEIGHT, PATHFINDING_WIDTH, PopInfo(), PushInfo(), 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.
Referenced by CheckConnectionsThread(), CheckUnit(), and DoRouting().
|
static |
Definition at line 35 of file routing.cpp.
Referenced by CheckConnectionsThread(), CheckUnit(), and DoRouting().
|
static |
world min and max values converted from vec to pos
Definition at line 35 of file routing.cpp.
Referenced by CheckConnectionsThread(), CheckUnit(), and DoRouting().