UFO: Alien Invasion
|
Public Member Functions | |
const Assembly * | getCurrentAssembly () const |
void | setName (const char *mapTheme) |
const char * | getName () const |
const char * | getCurrentAssemblyTitle () const |
Data Fields | |
unsigned long | curMap [MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH] |
Stores the alternatives information for the assembled map. More... | |
mToPlace_t | mToPlace [MAX_TILETYPES] |
Stores the Tiles to Place in the map. More... | |
int | numToPlace |
Assembly | assemblies [MAX_MAPASSEMBLIES] |
int | numAssemblies |
mPlaced_t | mPlaced [MAX_MAPTILES] |
int | numPlaced |
TileSet | tileSets [MAX_TILESETS] |
int | numTileSets |
Tile | mTile [MAX_TILETYPES] |
int | numTiles |
unsigned long | lineFlags |
char | basePath [MAX_QPATH] |
char | inheritBasePath [MAX_QPATH] |
int | asmIdx |
int | retryCnt |
Private Attributes | |
char | name [MAX_VAR] |
Definition at line 153 of file sv_rma.cpp.
|
inline |
Definition at line 184 of file sv_rma.cpp.
References asmIdx.
Referenced by SV_AddMapTiles(), SV_AddMissingTiles(), SV_AddMissingTiles_r(), SV_AddTile(), SV_BuildMapStrings(), SV_DoMapAssemble(), SV_DumpPlaced(), SV_FitTile(), SV_GapListBuild(), SV_GapListReduce(), SV_PrepareTilesToPlace(), SV_PrintAssemblyStats(), SV_RmaPrintMap(), and SV_TestFilled().
|
inline |
Definition at line 193 of file sv_rma.cpp.
References asmIdx, and Assembly::title.
Referenced by SV_AssembleMapAndTitle().
|
inline |
Definition at line 190 of file sv_rma.cpp.
References name.
Referenced by SV_AddMapTiles(), and SV_AssembleMap_().
|
inline |
Definition at line 187 of file sv_rma.cpp.
References Q_strncpyz().
Referenced by SV_AssembleMap_().
int MapInfo::asmIdx |
the index of the selected assembly
Definition at line 180 of file sv_rma.cpp.
Referenced by getCurrentAssembly(), getCurrentAssemblyTitle(), SV_AssembleMap_(), and SV_PrintAssemblyStats().
Assembly MapInfo::assemblies[MAX_MAPASSEMBLIES] |
A list of parsed assembly definitions.
Definition at line 164 of file sv_rma.cpp.
Referenced by SV_AssembleMap_(), SV_ParseUMP(), and SV_PrintAssemblyStats().
char MapInfo::basePath[MAX_QPATH] |
the combined bit values of the tiles that must form a line, ie. river, street etc. the base path of the main rma
Definition at line 177 of file sv_rma.cpp.
Referenced by SV_DoMapAssemble(), and SV_ParseUMP().
unsigned long MapInfo::curMap[MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH] |
Stores the alternatives information for the assembled map.
Definition at line 158 of file sv_rma.cpp.
Referenced by SV_AddMissingTiles_r(), SV_AddTile(), SV_ClearMap(), SV_FitTile(), SV_GapListBuild(), SV_RemoveTile(), SV_RmaPrintMap(), and SV_TestFilled().
char MapInfo::inheritBasePath[MAX_QPATH] |
only used during parsing, don't rely on any reasonable data after the parsing stage
Definition at line 178 of file sv_rma.cpp.
Referenced by SV_ParseMapTile(), SV_ParseMapTileSet(), and SV_ParseUMP().
unsigned long MapInfo::lineFlags |
Definition at line 175 of file sv_rma.cpp.
Referenced by SV_AddMissingTiles_r(), and SV_ParseUMP().
mPlaced_t MapInfo::mPlaced[MAX_MAPTILES] |
Holds all tiles that have been placed on the current map.
Definition at line 167 of file sv_rma.cpp.
Referenced by SV_AddMapTiles(), SV_AddTile(), SV_BuildMapStrings(), SV_DumpPlaced(), SV_RemoveTile(), and SV_RmaPrintMap().
Tile MapInfo::mTile[MAX_TILETYPES] |
A list of parsed map-tiles.
Definition at line 173 of file sv_rma.cpp.
Referenced by SV_DoMapAssemble(), SV_GetCvarToken(), SV_GetMapTile(), SV_GetTilesFromTileSet(), SV_ParseAssembly(), SV_ParseMapTile(), and SV_PrepareTilesToPlace().
mToPlace_t MapInfo::mToPlace[MAX_TILETYPES] |
Stores the Tiles to Place in the map.
Definition at line 161 of file sv_rma.cpp.
Referenced by SV_AddMapTiles(), SV_AddMissingTiles(), SV_AddMissingTiles_r(), SV_AddTile(), SV_DoMapAssemble(), SV_GapGetFlagsAtAbsPos(), SV_GapListBuild(), SV_PrepareTilesToPlace(), SV_PrintAssemblyStats(), and SV_RemoveTile().
|
private |
Definition at line 155 of file sv_rma.cpp.
Referenced by getName().
int MapInfo::numAssemblies |
The number of assemblies in mAssembly.
Definition at line 165 of file sv_rma.cpp.
Referenced by SV_AssembleMap_(), SV_ParseUMP(), and SV_PrintAssemblyStats().
int MapInfo::numPlaced |
The number of tiles in mPlaced.
Definition at line 168 of file sv_rma.cpp.
Referenced by SV_AddMapTiles(), SV_AddMissingTiles(), SV_AddTile(), SV_AssembleMap(), SV_AssembleMapAndTitle(), SV_BuildMapStrings(), SV_DoMapAssemble(), SV_RemoveTile(), and SV_RmaPrintMap().
int MapInfo::numTiles |
Length of the mTile list
Definition at line 174 of file sv_rma.cpp.
Referenced by SV_AssembleMap_(), SV_GetCvarToken(), SV_GetMapTile(), SV_ParseMapTile(), SV_ParseUMP(), SV_PrepareTilesToPlace(), and SV_PrintAssemblyStats().
int MapInfo::numTileSets |
Length of the tileSets list
Definition at line 171 of file sv_rma.cpp.
Referenced by SV_GetMapTileSet(), SV_ParseMapTileSet(), and SV_ParseUMP().
int MapInfo::numToPlace |
the size of the to place list
Definition at line 162 of file sv_rma.cpp.
Referenced by SV_AddMapTiles(), SV_AddMissingTiles(), SV_DoMapAssemble(), SV_PrepareTilesToPlace(), and SV_PrintAssemblyStats().
int MapInfo::retryCnt |
amount of retries in case the assembly didn't assemble and we are using the defined seeds
Definition at line 182 of file sv_rma.cpp.
Referenced by SV_AddMapTiles(), SV_AssemblyThread(), and SV_DoMapAssemble().
TileSet MapInfo::tileSets[MAX_TILESETS] |
A list of parsed map-tilesets.
Definition at line 170 of file sv_rma.cpp.
Referenced by SV_GetMapTileSet(), and SV_ParseMapTileSet().