![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <cl_particles.h>
Data Fields | |
float | airfriction |
how much air friction affects this object (objects with a low mass/size ratio tend to get more air friction) | |
float | alpha |
0-255 | |
float | alphafade |
how much alpha reduces per second | |
short | angle |
base rotation of particle | |
unsigned char | blendmode |
float | bounce |
how much bounce-back from a surface the particle hits (0 = no physics, 1 = stop and slide, 2 = keep bouncing forever, 1.5 is typical) | |
unsigned char | color [3] |
float | delayedspawn |
time that particle appears and begins moving | |
float | die |
time when this particle should be removed, regardless of alpha | |
float | gravity |
how much gravity affects this particle (1.0 = normal gravity, 0.0 = none) | |
float | liquidfriction |
how much liquid friction affects this object (objects with a low mass/size ratio tend to get more liquid friction) | |
vec3_t | org |
unsigned char | orientation |
unsigned char | qualityreduction |
enables skipping of this particle according to r_refdef.view.qualityreduction | |
float | size |
float | sizeincrease |
rate of size change per second | |
vec3_t | sortorigin |
sort by this group origin, not particle org | |
short | spin |
geometry rotation speed around the particle center normal | |
float | stainalpha |
unsigned char | staincolor [3] |
float | stainsize |
signed char | staintexnum |
float | stretch |
only for sparks | |
unsigned char | texnum |
float | time2 |
used for snow fluttering, decal fade, explosion colour ramp | |
unsigned char | typeindex |
vec3_t | vel |
velocity of particle, or orientation of decal, or end point of beam | |
Definition at line 80 of file cl_particles.h.
float particle_t::airfriction |
how much air friction affects this object (objects with a low mass/size ratio tend to get more air friction)
Definition at line 100 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
float particle_t::alpha |
0-255
Definition at line 89 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
float particle_t::alphafade |
how much alpha reduces per second
Definition at line 96 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
short particle_t::angle |
base rotation of particle
Definition at line 107 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticle_TransparentCallback().
unsigned char particle_t::blendmode |
Definition at line 114 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticle_TransparentCallback().
float particle_t::bounce |
how much bounce-back from a surface the particle hits (0 = no physics, 1 = stop and slide, 2 = keep bouncing forever, 1.5 is typical)
Definition at line 98 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
unsigned char particle_t::color[3] |
Definition at line 111 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
float particle_t::delayedspawn |
time that particle appears and begins moving
Definition at line 103 of file cl_particles.h.
Referenced by CL_NewParticle(), R_DrawParticle_TransparentCallback(), R_DrawParticles(), VM_CL_SpawnParticle(), and VM_CL_SpawnParticleDelayed().
float particle_t::die |
time when this particle should be removed, regardless of alpha
Definition at line 104 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
float particle_t::gravity |
how much gravity affects this particle (1.0 = normal gravity, 0.0 = none)
Definition at line 99 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
float particle_t::liquidfriction |
how much liquid friction affects this object (objects with a low mass/size ratio tend to get more liquid friction)
Definition at line 101 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
vec3_t particle_t::org |
Definition at line 86 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
unsigned char particle_t::orientation |
Definition at line 115 of file cl_particles.h.
Referenced by CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
unsigned char particle_t::qualityreduction |
enables skipping of this particle according to r_refdef.view.qualityreduction
Definition at line 112 of file cl_particles.h.
Referenced by CL_NewParticle().
float particle_t::size |
Definition at line 88 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
float particle_t::sizeincrease |
rate of size change per second
Definition at line 95 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
vec3_t particle_t::sortorigin |
sort by this group origin, not particle org
Definition at line 85 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
short particle_t::spin |
geometry rotation speed around the particle center normal
Definition at line 108 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticle_TransparentCallback().
float particle_t::stainalpha |
Definition at line 94 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), and R_DrawParticles().
unsigned char particle_t::staincolor[3] |
Definition at line 117 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), and R_DrawParticles().
float particle_t::stainsize |
Definition at line 93 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), and R_DrawParticles().
signed char particle_t::staintexnum |
Definition at line 118 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), and R_DrawParticles().
float particle_t::stretch |
only for sparks
Definition at line 90 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticle_TransparentCallback().
unsigned char particle_t::texnum |
Definition at line 116 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticle_TransparentCallback().
float particle_t::time2 |
used for snow fluttering, decal fade, explosion colour ramp
Definition at line 97 of file cl_particles.h.
Referenced by CL_NewParticle(), and R_DrawParticles().
unsigned char particle_t::typeindex |
Definition at line 113 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().
vec3_t particle_t::vel |
velocity of particle, or orientation of decal, or end point of beam
Definition at line 87 of file cl_particles.h.
Referenced by CL_ImmediateBloodStain(), CL_NewParticle(), R_DrawParticle_TransparentCallback(), and R_DrawParticles().