|
UFO: Alien Invasion
|
#include <cl_renderer.h>

Data Fields | |
| bool | inuse |
| bool | invis |
| r_program_t * | program |
| ptlArt_t * | pic |
| ptlArt_t * | model |
| blend_t | blend |
| style_t | style |
| vec2_t | size |
| vec3_t | scale |
| vec4_t | color |
| vec3_t | s |
| vec3_t | origin |
| vec3_t | offset |
| vec3_t | angles |
| vec3_t | lightColor |
| float | lightIntensity |
| float | lightSustain |
| int | levelFlags |
| int | skin |
| struct ptl_s * | children |
| struct ptl_s * | next |
| struct ptl_s * | parent |
| ptlDef_t * | ctrl |
| int | startTime |
| int | frame |
| int | endFrame |
| float | fps |
| float | lastFrame |
| float | tps |
| float | lastThink |
| fade_t | thinkFade |
| fade_t | frameFade |
| float | t |
| float | dt |
| float | life |
| int | rounds |
| int | roundsCnt |
| float | scrollS |
| float | scrollT |
| vec3_t | a |
| vec3_t | v |
| vec3_t | oldV |
| vec3_t | omega |
| bool | physics |
| bool | autohide |
| bool | stayalive |
| bool | weather |
| bool | hitSolid |
| bool | stick |
| bool | bounce |
Definition at line 107 of file cl_renderer.h.
| vec3_t ptl_t::a |
acceleration vector
Definition at line 152 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleRunTimed(), and CL_ParticleSpawn().
| vec3_t ptl_t::angles |
Definition at line 124 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), LE_AddGrenade(), LE_AddProjectile(), LET_Projectile(), R_DrawParticleModel(), and R_GetSpriteVectors().
| bool ptl_t::autohide |
only draw the particle if the current position is not higher than the current level (useful for weather particles)
Definition at line 157 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| blend_t ptl_t::blend |
blend mode
Definition at line 116 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), and R_DrawParticles().
| bool ptl_t::bounce |
true if the particle should bouce when a solid is hot (only physic particles)
Definition at line 165 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| struct ptl_s* ptl_t::children |
list of children
Definition at line 132 of file cl_renderer.h.
Referenced by CL_ParticleFree(), CL_ParticleFunction(), and CL_ParticleRunTimed().
| vec4_t ptl_t::color |
Definition at line 120 of file cl_renderer.h.
Referenced by CL_DrawLineOfSight(), CL_ParticleRun2(), CL_ParticleSpawn(), R_DrawParticleModel(), R_DrawPtlCircle(), R_DrawPtlLine(), and R_DrawSprite().
| ptlDef_t* ptl_t::ctrl |
pointer to the particle definition
Definition at line 137 of file cl_renderer.h.
Referenced by CL_ParticleCheckRounds(), CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleSpawn(), and CL_RunMapParticles().
| float ptl_t::dt |
time increment for rendering this particle (delta time)
Definition at line 146 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| int ptl_t::endFrame |
Definition at line 139 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| float ptl_t::fps |
how many frames per second (animate)
Definition at line 140 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| int ptl_t::frame |
Definition at line 139 of file cl_renderer.h.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), and CL_ParticleRun2().
| fade_t ptl_t::frameFade |
Definition at line 144 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| bool ptl_t::hitSolid |
true if a trace (only physic particles) hits something solid
Definition at line 163 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| bool ptl_t::inuse |
particle active?
Definition at line 108 of file cl_renderer.h.
Referenced by CL_ParticleCheckRounds(), CL_ParticleFree(), CL_ParticleRun(), CL_ParticleRunTimed(), CL_ParticleSpawn(), and R_DrawParticles().
| bool ptl_t::invis |
is this particle invisible
Definition at line 109 of file cl_renderer.h.
Referenced by CL_ParticleFree(), CL_ParticleRun2(), and R_DrawParticles().
| float ptl_t::lastFrame |
time (in seconds) when the think function was last executed (perhaps this can be used to delay or speed up particle actions).
Definition at line 141 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| float ptl_t::lastThink |
Definition at line 143 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| int ptl_t::levelFlags |
Definition at line 128 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), CL_ParticleSpawn(), CL_ParticleSpawnTimed(), and R_DrawParticles().
| float ptl_t::life |
specifies how long a particle will be active (seconds)
Definition at line 147 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), and CL_ParticleSpawn().
| vec3_t ptl_t::lightColor |
Definition at line 125 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| float ptl_t::lightIntensity |
Definition at line 126 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| float ptl_t::lightSustain |
Definition at line 127 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| ptlArt_t* ptl_t::model |
Model link.
Definition at line 114 of file cl_renderer.h.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), CL_ParticleSpawn(), R_DrawParticleModel(), and R_DrawParticles().
| struct ptl_s* ptl_t::next |
next peer in list
Definition at line 133 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), and CL_ParticleRunTimed().
| vec3_t ptl_t::offset |
Definition at line 123 of file cl_renderer.h.
Referenced by R_DrawSprite().
| vec3_t ptl_t::oldV |
old velocity vector (in case the particle e.g. bounces)
Definition at line 154 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| vec3_t ptl_t::omega |
the rotation vector for the particle (newAngles = oldAngles + frametime * omega)
Definition at line 155 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), and LE_AddGrenade().
| vec3_t ptl_t::origin |
start position - set initial s position to get this value
Definition at line 122 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), CL_ParticleSpawn(), and PTL_Trace().
| struct ptl_s* ptl_t::parent |
pointer to parent
Definition at line 134 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleRunTimed(), and R_DrawSprite().
| bool ptl_t::physics |
| ptlArt_t* ptl_t::pic |
Picture link.
Definition at line 113 of file cl_renderer.h.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleSpawn(), R_DrawParticles(), and R_DrawSprite().
| r_program_t* ptl_t::program |
this glsl program is bound before the particle is executed
Definition at line 111 of file cl_renderer.h.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), and R_DrawParticles().
| int ptl_t::rounds |
specifies how many rounds a particle will be active
Definition at line 148 of file cl_renderer.h.
Referenced by CL_ParticleCheckRounds(), and CL_ParticleRun2().
| int ptl_t::roundsCnt |
Definition at line 149 of file cl_renderer.h.
Referenced by CL_ParticleCheckRounds(), and CL_ParticleRun2().
| vec3_t ptl_t::s |
current position
Definition at line 121 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleRunTimed(), CL_ParticleSpawn(), LE_AddProjectile(), LET_Projectile(), PTL_Trace(), R_DrawParticleModel(), R_DrawPtlCircle(), R_DrawPtlLine(), and R_DrawSprite().
| vec3_t ptl_t::scale |
Definition at line 119 of file cl_renderer.h.
| float ptl_t::scrollS |
Definition at line 150 of file cl_renderer.h.
Referenced by R_SpriteTexcoords().
| float ptl_t::scrollT |
Definition at line 151 of file cl_renderer.h.
Referenced by R_SpriteTexcoords().
| vec2_t ptl_t::size |
Definition at line 118 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), CL_TargetingRadius(), LE_AddProjectile(), R_DrawPtlCircle(), and R_GetSpriteVectors().
| int ptl_t::skin |
model skin to use for this particle
Definition at line 130 of file cl_renderer.h.
Referenced by R_DrawParticleModel().
| int ptl_t::startTime |
Definition at line 138 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), and CL_ParticleSpawn().
| bool ptl_t::stayalive |
used for physics particles that hit the ground
Definition at line 160 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| bool ptl_t::stick |
true if a particle sticks to the solid the trace hits before (only physic particles)
Definition at line 164 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| style_t ptl_t::style |
style mode
Definition at line 117 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), R_DrawParticles(), and R_GetSpriteVectors().
| float ptl_t::t |
time that the particle has been active already
Definition at line 145 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| fade_t ptl_t::thinkFade |
Definition at line 144 of file cl_renderer.h.
Referenced by CL_ParticleRun2().
| float ptl_t::tps |
think per second - call the think function tps times each second, the first call at 1/tps seconds
Definition at line 142 of file cl_renderer.h.
Referenced by CL_ParticleRun2(), and CL_ParticleSpawn().
| vec3_t ptl_t::v |
velocity vector
Definition at line 153 of file cl_renderer.h.
Referenced by CL_ParticleFunction(), CL_ParticleRun2(), CL_ParticleRunTimed(), CL_ParticleSpawn(), LE_AddProjectile(), and R_DrawPtlLine().
| bool ptl_t::weather |
used to identify weather particles (can be switched off via cvar cl_particleweather)
Definition at line 161 of file cl_renderer.h.
Referenced by CL_ParticleRun2().