Go to the source code of this file.
|
void | MakeNormalVectors (vec3_t forward, vec3_t right, vec3_t up) |
|
void | vectoangles2 (vec3_t value1, vec3_t angles) |
|
void | CL_Flashlight (int ent, vec3_t pos) |
|
void | CL_ColorFlash (vec3_t pos, int ent, int intensity, float r, float g, float b) |
|
void | CL_DebugTrail (vec3_t start, vec3_t end) |
|
void | CL_SmokeTrail (vec3_t start, vec3_t end, int colorStart, int colorRun, int spacing) |
|
void | CL_ForceWall (vec3_t start, vec3_t end, int color8) |
|
void | CL_FlameEffects (centity_t *ent, vec3_t origin) |
|
void | CL_GenericParticleEffect (vec3_t org, vec3_t dir, int color, int count, int numcolors, int dirspread, float alphavel) |
|
void | CL_BubbleTrail2 (vec3_t start, vec3_t end, int dist) |
|
void | CL_Heatbeam (vec3_t start, vec3_t forward) |
|
void | CL_ParticleSteamEffect (vec3_t org, vec3_t dir, int color, int count, int magnitude) |
|
void | CL_ParticleSteamEffect2 (cl_sustain_t *self) |
|
void | CL_TrackerTrail (vec3_t start, vec3_t end, int particleColor) |
|
void | CL_Tracker_Shell (vec3_t origin) |
|
void | CL_MonsterPlasma_Shell (vec3_t origin) |
|
void | CL_Widowbeamout (cl_sustain_t *self) |
|
void | CL_Nukeblast (cl_sustain_t *self) |
|
void | CL_WidowSplash (vec3_t org) |
|
void | CL_Tracker_Explode (vec3_t origin) |
|
void | CL_TagTrail (vec3_t start, vec3_t end, float color) |
|
void | CL_ColorExplosionParticles (vec3_t org, int color8, int run) |
|
void | CL_ParticleSmokeEffect (vec3_t org, vec3_t dir, int color, int count, int magnitude) |
|
void | CL_BlasterParticles2 (vec3_t org, vec3_t dir, unsigned int color) |
|
void | CL_BlasterTrail2 (vec3_t start, vec3_t end) |
|
◆ RINGS
◆ CL_BlasterParticles2()
◆ CL_BlasterTrail2()
◆ CL_BubbleTrail2()
Definition at line 445 of file cl_newfx.c.
464 for (
i=0 ;
i<len ;
i+=dec)
474 0.75, -1.0 / (1 +
frand() * 0.2),
477 PART_TRANS|PART_SHADED,
493 p->
color = 4 + (rand()&7);
494 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_ColorExplosionParticles()
Definition at line 1269 of file cl_newfx.c.
1278 for (
i=0 ;
i<128 ;
i++)
1283 org[0] + ((rand()%32)-16), org[1] + ((rand()%32)-16), org[2] + ((rand()%32)-16),
1284 (rand()%256)-128, (rand()%256)-128, (rand()%256)-128,
1286 color[0] + (rand() % run), color[1] + (rand() % run), color[2] + (rand() % run),
1288 1.0, -0.4 / (0.6 +
frand()*0.2),
1302 p->
color = color8 + (rand() % run);
1303 for (
j=0 ;
j<3 ;
j++)
1305 p->
org[
j] = org[
j] + ((rand()%32)-16);
1306 p->
vel[
j] = (rand()%256)-128;
Referenced by CL_ParseTEnt().
◆ CL_ColorFlash()
void CL_ColorFlash |
( |
vec3_t |
pos, |
|
|
int |
ent, |
|
|
int |
intensity, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ CL_DebugTrail()
◆ CL_FlameEffects()
Definition at line 331 of file cl_newfx.c.
337 count = rand() & 0xF;
355 p->
color = 226 + (rand() % 4);
357 for (
j=0 ;
j<3 ;
j++)
366 count = rand() & 0x7;
383 p->
color = 0 + (rand() % 4);
385 for (
j=0 ;
j<3 ;
j++)
◆ CL_Flashlight()
◆ CL_ForceWall()
Definition at line 261 of file cl_newfx.c.
294 0, 0, -40 - (
crand()*10),
296 color[0]+5, color[1]+5, color[2]+5,
298 1, -1.0 / (3.0+
frand()*0.5),
315 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_GenericParticleEffect()
Definition at line 400 of file cl_newfx.c.
418 p->
color = color + (rand() & numcolors);
422 d = rand() & dirspread;
423 for (
j=0 ;
j<3 ;
j++)
425 p->
org[
j] = org[
j] + ((rand()&7)-4) + d*dir[
j];
◆ CL_Heatbeam()
Definition at line 615 of file cl_newfx.c.
627 float step = 32.0, rstep;
650 ltime = (float)
cl.
time/1000.0;
651 start_pt = fmod(ltime*96.0,step);
652 VectorMA (move, start_pt, vec, move);
658 for (
i=start_pt ;
i<len ;
i+=step)
663 for (rot = 0; rot <
M_PI*2; rot += rstep)
681 c = cos(rot)*variance;
682 s = sin(rot)*variance;
701 p->
color = 223 - (rand()&7);
703 for (
j=0 ;
j<3 ;
j++)
705 p->
org[
j] = move[
j] + dir[
j]*3;
Referenced by CL_AddPlayerBeams().
◆ CL_MonsterPlasma_Shell()
◆ CL_Nukeblast()
Definition at line 1101 of file cl_newfx.c.
1107 static int colortable[4] = {110, 112, 114, 116};
1111 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/1000.0);
1128 p->
color = colortable[rand()&3];
Referenced by CL_ParseNuke().
◆ CL_ParticleSmokeEffect()
◆ CL_ParticleSteamEffect()
◆ CL_ParticleSteamEffect2()
Definition at line 888 of file cl_newfx.c.
903 for (
i=0 ;
i<
self->count ;
i++)
914 p->
color =
self->color + (rand()&7);
916 for (
j=0 ;
j<3 ;
j++)
918 p->
org[
j] =
self->org[
j] +
self->magnitude*0.1*
crand();
922 d =
crand()*
self->magnitude/3;
924 d =
crand()*
self->magnitude/3;
933 self->nextthink +=
self->thinkinterval;
Referenced by CL_ParseSteam().
◆ CL_SmokeTrail()
Definition at line 216 of file cl_newfx.c.
248 p->
color = colorStart + (rand() % colorRun);
250 for (
j=0 ;
j<3 ;
j++)
◆ CL_TagTrail()
◆ CL_Tracker_Explode()
◆ CL_Tracker_Shell()
◆ CL_TrackerTrail()
◆ CL_Widowbeamout()
Definition at line 1062 of file cl_newfx.c.
1068 static int colortable[4] = {2*8,13*8,21*8,18*8};
1072 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/2100.0);
1089 p->
color = colortable[rand()&3];
Referenced by CL_ParseWidow().
◆ CL_WidowSplash()
Definition at line 1140 of file cl_newfx.c.
1143 static int colortable[4] = {2*8,13*8,21*8,18*8};
1149 for (
i=0 ;
i<256 ;
i++)
1160 p->
color = colortable[rand()&3];
Referenced by CL_ParseTEnt().
◆ MakeNormalVectors()
◆ vectoangles2()
◆ active_particles
Definition at line 62 of file cl_fx.c.
Referenced by CL_AddParticles(), CL_BFGExplosionParticles(), CL_BfgParticles(), CL_BigTeleportParticles(), CL_BlasterParticles(), CL_BlasterParticles2(), CL_BlasterTrail(), CL_BlasterTrail2(), CL_BubbleTrail(), CL_BubbleTrail2(), CL_ClearParticles(), CL_ColorExplosionParticles(), CL_DebugTrail(), CL_DiminishingTrail(), CL_ExplosionParticles(), CL_FlagTrail(), CL_FlameEffects(), CL_FlyParticles(), CL_ForceWall(), CL_GenericParticleEffect(), CL_Heatbeam(), CL_IonripperTrail(), CL_ItemRespawnParticles(), CL_LightningBeam(), CL_LightningFlare(), CL_LogoutEffect(), CL_MonsterPlasma_Shell(), CL_Nukeblast(), CL_ParticleEffect(), CL_ParticleEffect2(), CL_ParticleEffect3(), CL_ParticleSmokeEffect(), CL_ParticleSteamEffect(), CL_ParticleSteamEffect2(), CL_QuadTrail(), CL_RailTrail(), CL_RocketTrail(), CL_SmokeTrail(), CL_TagTrail(), CL_TeleporterParticles(), CL_TeleportParticles(), CL_Tracker_Explode(), CL_Tracker_Shell(), CL_TrackerTrail(), CL_TrapParticles(), CL_Widowbeamout(), CL_WidowSplash(), and setupParticle().
◆ cl_numparticles
◆ free_particles
Definition at line 24 of file cl_newfx.c.
Referenced by CL_BlasterParticles2(), CL_BlasterTrail2(), CL_BubbleTrail2(), CL_ColorExplosionParticles(), CL_DebugTrail(), CL_FlameEffects(), CL_ForceWall(), CL_GenericParticleEffect(), CL_Heatbeam(), CL_MonsterPlasma_Shell(), CL_Nukeblast(), CL_ParticleSmokeEffect(), CL_ParticleSteamEffect(), CL_ParticleSteamEffect2(), CL_SmokeTrail(), CL_TagTrail(), CL_Tracker_Explode(), CL_Tracker_Shell(), CL_TrackerTrail(), CL_Widowbeamout(), and CL_WidowSplash().
◆ particles
◆ vid_ref
cparticle_t * setupParticle(float angle0, float angle1, float angle2, float org0, float org1, float org2, float vel0, float vel1, float vel2, float accel0, float accel1, float accel2, float color0, float color1, float color2, float colorvel0, float colorvel1, float colorvel2, float alpha, float alphavel, float size, float sizevel, int image, int flags, void(*think)(cparticle_t *p, vec3_t org, vec3_t angle, float *alpha, float *size, int *image, float *time), qboolean thinknext)