Nuclide
Software Development Kit for id Tech
entityDef.h File Reference

Go to the source code of this file.

Classes

struct  entityDef_t
 Data holding EntityDef entries. More...
 

Macros

#define ENTITYDEF_MAX   256
 Can be redefined in the server its progs.src file. More...
 

Enumerations

enum  {
  EDEFTWEAK_EQ = 0 , EDEFTWEAK_LT , EDEFTWEAK_GT , EDEFTWEAK_NOT ,
  EDEFTWEAK_CONTAINS
}
 Options for EntityDef checks. More...
 

Functions

void EntityDef_Init (void)
 
void EntityDef_DebugList (void)
 
string EntityDef_GetKeyValue (string, string)
 Retrieves the value of a specific key defined within an EntityDef. More...
 
int EntityDef_NetIDFromName (string)
 
string EntityDef_NameFromNetID (int)
 
int EntityDef_IDFromName (string)
 
string EntityDef_GetSpawnData (int)
 
bool EntityDef_HasSpawnClass (string className)
 Checks if an entity class was defined in an EntityDef. More...
 
bool EntityDef_Precache (string)
 
NSEntity EntityDef_SwitchClass (NSEntity target, string className)
 
NSEntity Entity_CreateClass (string className)
 Always returns a valid entity. More...