UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
terrainType_s Struct Reference

Different terrain definitions for footsteps and particles. More...

#include <scripts.h>

Data Fields

const char * texture
 
const char * footstepSound
 
const char * particle
 
float bounceFraction
 
float footstepVolume
 
struct terrainType_shash_next
 

Detailed Description

Different terrain definitions for footsteps and particles.

Definition at line 216 of file scripts.h.

Field Documentation

float terrainType_s::bounceFraction

the impact on the bounce fraction given in the weapon definition

Definition at line 220 of file scripts.h.

Referenced by Com_ParseTerrain(), and SV_GetBounceFraction().

const char* terrainType_s::footstepSound

sound to play when walking on this terrain type

Definition at line 218 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface(), and SV_GetFootstepSound().

float terrainType_s::footstepVolume

footstep sound volume

Definition at line 221 of file scripts.h.

Referenced by Com_ParseTerrain(), and LE_PlaySoundFileAndParticleForSurface().

struct terrainType_s* terrainType_s::hash_next

next entry in the hash list

Definition at line 222 of file scripts.h.

Referenced by Com_GetTerrainType(), and Com_ParseTerrain().

const char* terrainType_s::particle

particle to spawn when walking on this type of terrain

Definition at line 219 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface().

const char* terrainType_s::texture

script id is the texture name/path

Definition at line 217 of file scripts.h.

Referenced by Com_ParseTerrain().


The documentation for this struct was generated from the following file: