mapInfo_s Struct Reference

#include <sv_rma.h>

Collaboration diagram for mapInfo_s:
Collaboration graph
[legend]

Data Fields

char name [MAX_TOKEN_CHARS *MAX_TILESTRINGS]
unsigned long curMap [MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH]
 Stores the alternatives information for the assembled map.
char curRating [MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH]
 Stores the map rating for the assembled map.
mToPlace_t mToPlace [MAX_TILETYPES]
 Stores the Tiles to Place in the map.
int numToPlace
mAssembly_t mAssembly [MAX_MAPASSEMBLIES]
int numAssemblies
mPlaced_t mPlaced [MAX_MAPTILES]
int numPlaced
mTileSet_t mTileSets [MAX_TILESETS]
int numTileSets
mTile_t mTile [MAX_TILETYPES]
int numTiles
char basePath [MAX_QPATH]
char inheritBasePath [MAX_QPATH]
int mAsm

Detailed Description

Definition at line 100 of file sv_rma.h.


Field Documentation

char mapInfo_s::basePath[MAX_QPATH]

the base path of the main rma

Definition at line 124 of file sv_rma.h.

Referenced by SV_AssembleMap(), and SV_ParseUMP().

unsigned long mapInfo_s::curMap[MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH]

Stores the alternatives information for the assembled map.

Definition at line 103 of file sv_rma.h.

Referenced by SV_AddTile(), SV_ClearMap(), SV_FitTile(), SV_RemoveTile(), and SV_TestFilled().

char mapInfo_s::curRating[MAX_RANDOM_MAP_HEIGHT][MAX_RANDOM_MAP_WIDTH]

Stores the map rating for the assembled map.

Definition at line 106 of file sv_rma.h.

Referenced by SV_AddTile(), SV_CalcRating(), SV_ClearMap(), SV_DumpRating(), and SV_RemoveTile().

char mapInfo_s::inheritBasePath[MAX_QPATH]

only used during parsing, don't rely on any reasonable data after the parsing stage

Definition at line 125 of file sv_rma.h.

Referenced by SV_ParseMapTile(), SV_ParseMapTileSet(), and SV_ParseUMP().

mAssembly_t mapInfo_s::mAssembly[MAX_MAPASSEMBLIES]

Holds all tiles that have been placed on the current map.

Definition at line 115 of file sv_rma.h.

Referenced by SV_AddMapTiles(), SV_AddTile(), SV_AssembleMap(), SV_DumpPlaced(), and SV_RemoveTile().

mTile_t mapInfo_s::mTile[MAX_TILETYPES]

A list of parsed map-tiles.

Definition at line 121 of file sv_rma.h.

Referenced by SV_AssembleMap(), SV_GetMapTile(), SV_ParseAssembly(), SV_ParseMapTile(), and SV_PrepareTilesToPlace().

A list of parsed map-tiles.

Definition at line 118 of file sv_rma.h.

Referenced by SV_GetMapTileSet(), and SV_ParseMapTileSet().

Stores the Tiles to Place in the map.

Definition at line 109 of file sv_rma.h.

Referenced by SV_AddMapTiles(), SV_AddMissingTiles(), SV_AddTile(), SV_PickRandomTile(), SV_PrepareTilesToPlace(), and SV_RemoveTile().

char mapInfo_s::name[MAX_TOKEN_CHARS *MAX_TILESTRINGS]

Definition at line 101 of file sv_rma.h.

Referenced by SV_AddMapTiles(), and SV_AssembleMap().

The number of assemblies in mAssembly.

Definition at line 113 of file sv_rma.h.

Referenced by SV_AssembleMap(), and SV_ParseUMP().

Length of the mTile list

Definition at line 122 of file sv_rma.h.

Referenced by SV_AssembleMap(), SV_GetMapTile(), SV_ParseMapTile(), SV_ParseUMP(), and SV_PrepareTilesToPlace().

Length of the mTile list

Definition at line 119 of file sv_rma.h.

Referenced by SV_GetMapTileSet(), SV_ParseMapTileSet(), and SV_ParseUMP().

the size of the to place list

Definition at line 110 of file sv_rma.h.

Referenced by SV_AddMapTiles(), SV_PickRandomTile(), and SV_PrepareTilesToPlace().


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

Generated by  doxygen 1.6.2