Nuclide
Software Development Kit for id Tech
maplibrary.qc File Reference

Classes

struct  mapLibrary_t
 

Functions

void MapLibrary_Init (void)
 Initialize the map library, MapLibrary_GetMapCount() will return the amount of maps available. More...
 
int MapLibrary_GetMapCount (void)
 Returns the total amount of maps available. More...
 
__variant MapLibrary_GetInfo (int mapID, mapType_t infoType)
 Retrieve information about a given mapID. More...
 

Variables

mapLibrary_tg_mapLibrary
 
var int g_mapLibrary_count = 0i
 
var int map_blacklist_count = 0i
 
stringmap_blacklist
 

Function Documentation

◆ MapLibrary_GetInfo()

__variant MapLibrary_GetInfo ( int  mapID,
mapType_t  infoType 
)

Retrieve information about a given mapID.

See mapType_t for which fields you can query.

◆ MapLibrary_GetMapCount()

int MapLibrary_GetMapCount ( void  )

Returns the total amount of maps available.

◆ MapLibrary_Init()

void MapLibrary_Init ( void  )

Initialize the map library, MapLibrary_GetMapCount() will return the amount of maps available.

Variable Documentation

◆ g_mapLibrary

mapLibrary_t* g_mapLibrary

◆ g_mapLibrary_count

var int g_mapLibrary_count = 0i

◆ map_blacklist

string* map_blacklist

◆ map_blacklist_count

var int map_blacklist_count = 0i