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

Go to the source code of this file.

Classes

struct  propdata_t
 Data holding PropData entries. More...
 
struct  breakModel_t
 Data holding BreakModel entries. More...
 

Enumerations

enum  propinfo_t {
  PROPINFO_HEALTH , PROPINFO_FLAGS , PROPINFO_DMG_BULLET , PROPINFO_DMG_MELEE ,
  PROPINFO_DMG_EXPLOSIVE , PROPINFO_EXPLOSIVE_DMG , PROPINFO_EXPLOSIVE_RADIUS , PROPINFO_BREAKMODEL ,
  PROPINFO_BREAKCOUNT , PROPINFO_SKIN , PROPINFO_MASS , PROPINFO_DAMPING_LINEAR ,
  PROPINFO_DAMPING_ANGULAR , PROPINFO_INERTIA , PROPINFO_VOLUME , PROPINFO_SURFACEPROP
}
 

Functions

void PropData_Init (void)
 
void PropData_Shutdown (void)
 
int PropData_Load (string)
 
int PropData_ForModel (string)
 
void PropData_SetStage (string)
 
int PropData_Finish (void)
 
__variant Prop_GetInfo (int, int)
 
void BreakModel_SpawnID (vector smins, vector smaxs, vector dir, float speed, int count, int index)
 
void BreakModel_Receive (void)
 
void BreakModel_ReceiveClientData (void)
 

Variables

var string g_curPropData
 
typedef enumflags
 
propdata_tg_propdata
 
int g_propdata_count
 
var hashtable g_hashpropdata
 
breakModel_tg_breakmodel
 
int g_breakmodel_count
 
int g_breakmodel_end
 
var hashtable g_hashbreakmodel