UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mapData_s Struct Reference

#include <typedefs.h>

Data Fields

char mapEntityString [MAX_MAP_ENTSTRING]
 
int numInline
 
unsigned mapChecksum
 
byte reroute [ACTOR_MAX_SIZE][PATHFINDING_WIDTH][PATHFINDING_WIDTH]
 Used to track where rerouting needs to occur. More...
 
Routing routing
 
AABB mapBox
 

Detailed Description

Definition at line 329 of file typedefs.h.

Field Documentation

AABB mapData_s::mapBox
Note
The vectors are from 0 up to 2*MAX_WORLD_WIDTH - but not negative
holds the smallest bounding box that will contain the map
See also
CL_ClampCamToMap
CL_OutsideMap
CMod_GetMapSize
SV_ClearWorld

Definition at line 351 of file typedefs.h.

Referenced by CL_BattlescapeRadarMapInFrameBuffer(), CL_CenterCameraIntoMap_f(), CL_ClampCamToMap(), CL_OutsideMap(), CM_AddMapTile(), CMod_RerouteMap(), uiRadarNode::draw(), uiRadarNode::onCapturedMouseMove(), SV_ClearWorld(), SV_GridIsOnMap(), TEST_F(), UI_BuildRadarImageList(), UI_InitRadar(), and Weather::update().

unsigned mapData_s::mapChecksum

Definition at line 336 of file typedefs.h.

Referenced by CL_CanMultiplayerStart(), CM_AddMapTile(), and SV_Map().

char mapData_s::mapEntityString[MAX_MAP_ENTSTRING]
Note
holds all entity data as a single parsable string

Definition at line 331 of file typedefs.h.

Referenced by CL_SpawnParseEntitystring(), CMod_LoadEntityString(), and SV_Map().

int mapData_s::numInline
Note
holds the number of inline entities, e.g. ET_DOOR

Definition at line 334 of file typedefs.h.

Referenced by CM_AddMapTile(), CMod_LoadEntityString(), and SV_Map().

Used to track where rerouting needs to occur.

Todo:
not threadsafe

Definition at line 340 of file typedefs.h.

Referenced by CMod_LoadRouting(), and CMod_RerouteMap().


The documentation for this struct was generated from the following file: