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

Go to the source code of this file.

Classes

struct  surfaceData_t
 

Enumerations

enum  surfinfo_t {
  SURFDATA_MATERIAL , SURFDATA_THICKNESS , SURFDATA_DENSITY , SURFDATA_ELASTICITY ,
  SURFDATA_FRICTION , SURFDATA_DAMPENING , SURFDATA_JUMPFACTOR , SURFDATA_MAXSPEEDFACTOR ,
  SURFDATA_SND_STEPLEFT , SURFDATA_SND_STEPRIGHT , SURFDATA_SND_BULLETIMPACT , SURFDATA_SND_SCRAPEROUGH ,
  SURFDATA_SND_SCRAPESOFT , SURFDATA_SND_IMPACTHARD , SURFDATA_SND_IMPACTSOFT , SURFDATA_SND_SHAKE ,
  SURFDATA_SND_STRAIN , SURFDATA_SND_ROLL , SURFDATA_SND_BREAK , SURFDATA_FX_BULLETIMPACT ,
  SURFDATA_FX_BULLETIMPACTID
}
 

Functions

void SurfData_Init (void)
 
void SurfData_SetStage (string type)
 
int SurfData_Finish (void)
 
int SurfData_TexToSurfData (string tex_name)
 
void SurfData_Impact (entity e, vector org, vector ang)
 
__variant SurfData_GetInfo (int, int)
 
void SurfData_Impact_Parse (void)
 Called by EV_SURFIMPACT. More...
 
void SurfData_ImpactID_Parse (void)
 Called by EV_SURFIMPACTID. More...
 
void SurfData_ImpactOfType (int materialID, vector worldPosition, vector impactNormal)
 
void SurfData_ImpactOfNamedType (string materialName, vector worldPosition, vector impactNormal)
 

Variables

surfaceData_tg_surfdata
 
int g_surfdata_count
 
var hashtable g_hashsurfdata