UFO: Alien Invasion
Loading...
Searching...
No Matches
Tile Class Reference

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

Collaboration diagram for Tile:
Collaboration graph

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

◆ area

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().

◆ h

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().

◆ id

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().

◆ spec

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().

◆ w


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