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

Stores the parsed data for a map tile. (See *.ump files) More...

Data Fields

char id [MAX_VAR]
 
unsigned long spec [MAX_TILESIZE][MAX_TILESIZE]
 
int w
 
int h
 
int area
 

Detailed Description

Stores the parsed data for a map tile. (See *.ump files)

Definition at line 86 of file sv_rma.cpp.

Field Documentation

int Tile::area

Number of solid parts

Definition at line 91 of file sv_rma.cpp.

Referenced by SV_AddMissingTiles_r(), SV_ParseMapTile(), and SV_PrintAssemblyStats().

int Tile::h

The width and height of the tile.

Definition at line 90 of file sv_rma.cpp.

Referenced by SV_AddMissingTiles_r(), SV_AddTile(), SV_FitTile(), SV_GapListBuild(), SV_ParseMapTile(), SV_RemoveTile(), and SV_RmaPrintMap().

char Tile::id[MAX_VAR]

The id (string) of the tile as defined in the ump file (next to "tile").

Definition at line 88 of file sv_rma.cpp.

Referenced by SV_BuildMapStrings(), SV_DumpPlaced(), SV_GetCvarToken(), SV_GetMapTile(), SV_ParseAssembly(), SV_ParseMapTile(), and SV_RmaPrintMap().

unsigned long Tile::spec[MAX_TILESIZE][MAX_TILESIZE]

connection/alternatives info for the tile

Definition at line 89 of file sv_rma.cpp.

Referenced by SV_AddMissingTiles_r(), SV_AddTile(), SV_DumpPlaced(), SV_FitTile(), SV_GapGetFlagsAtAbsPos(), SV_GapListBuild(), SV_ParseMapTile(), SV_RemoveTile(), and SV_RmaPrintMap().


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