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

Macros

#define MAX_CONSTANTS_ID   128
 

Functions

void Constants_Init (void)
 Called upon game init internally to populate our look-up table. More...
 
string Constants_LookUp (string constName, string returnValue)
 Look up a name and retrieve its value. More...
 

Variables

string g_constIndex [128]
 

Macro Definition Documentation

◆ MAX_CONSTANTS_ID

#define MAX_CONSTANTS_ID   128

Function Documentation

◆ Constants_Init()

void Constants_Init ( void  )

Called upon game init internally to populate our look-up table.

◆ Constants_LookUp()

string Constants_LookUp ( string  constName,
string  returnValue 
)

Look up a name and retrieve its value.

Parameters
constNameName of the constant to look up.
returnValueThe value to return if constName is not defined.
Returns
The value of the named constant. Will return returnValue if it does not exist.

Variable Documentation

◆ g_constIndex

string g_constIndex[128]