#include "cg_local.h"#include "fx_local.h"Go to the source code of this file.
Defines | |
| #define | FX_ALPHA_WAVE 0x00000008 |
Functions | |
| void | FX_DisruptorMainShot (vec3_t start, vec3_t end) |
| void | FX_DisruptorAltShot (vec3_t start, vec3_t end, qboolean fullCharge) |
| void | FX_DisruptorAltMiss (vec3_t origin, vec3_t normal) |
| void | FX_DisruptorAltHit (vec3_t origin, vec3_t normal) |
| void | FX_DisruptorHitWall (vec3_t origin, vec3_t normal) |
| void | FX_DisruptorHitPlayer (vec3_t origin, vec3_t normal, qboolean humanoid) |
|
|
Definition at line 68 of file fx_disruptor.c. Referenced by FX_DisruptorAltMiss(). |
|
||||||||||||
|
Definition at line 121 of file fx_disruptor.c. References cgs, cgEffects_t::disruptorAltHitEffect, cgs_t::effects, trap_FX_PlayEffectID(), and vec3_t. Referenced by CG_MissileHitPlayer().
00122 {
00123 trap_FX_PlayEffectID( cgs.effects.disruptorAltHitEffect, origin, normal, -1, -1 );
00124 }
|
|
||||||||||||
|
||||||||||||||||
|
Definition at line 41 of file fx_disruptor.c. References FX_ALPHA_LINEAR, FX_SIZE_LINEAR, trap_FX_AddLine(), trap_R_RegisterShader(), and vec3_t. Referenced by CG_EntityEvent().
00042 {
00043 trap_FX_AddLine( start, end, 0.1f, 10.0f, 0.0f,
00044 1.0f, 0.0f, 0.0f,
00045 WHITE, WHITE, 0.0f,
00046 175, trap_R_RegisterShader( "gfx/effects/redLine" ),
00047 FX_SIZE_LINEAR | FX_ALPHA_LINEAR );
00048
00049 if ( fullCharge )
00050 {
00051 vec3_t YELLER={0.8f,0.7f,0.0f};
00052
00053 // add some beef
00054 trap_FX_AddLine( start, end, 0.1f, 7.0f, 0.0f,
00055 1.0f, 0.0f, 0.0f,
00056 YELLER, YELLER, 0.0f,
00057 150, trap_R_RegisterShader( "gfx/misc/whiteline2" ),
00058 FX_SIZE_LINEAR | FX_ALPHA_LINEAR );
00059 }
00060 }
|
|
||||||||||||||||
|
Definition at line 145 of file fx_disruptor.c. References cgs, cgEffects_t::disruptorFleshImpactEffect, cgs_t::effects, trap_FX_PlayEffectID(), and vec3_t. Referenced by CG_EntityEvent().
00146 {
00147 trap_FX_PlayEffectID( cgs.effects.disruptorFleshImpactEffect, origin, normal, -1, -1 );
00148 }
|
|
||||||||||||
|
Definition at line 134 of file fx_disruptor.c. References cgs, cgEffects_t::disruptorWallImpactEffect, cgs_t::effects, trap_FX_PlayEffectID(), and vec3_t. Referenced by CG_EntityEvent().
00135 {
00136 trap_FX_PlayEffectID( cgs.effects.disruptorWallImpactEffect, origin, normal, -1, -1 );
00137 }
|
|
||||||||||||
|
Definition at line 13 of file fx_disruptor.c. References FX_ALPHA_LINEAR, FX_SIZE_LINEAR, trap_FX_AddLine(), trap_R_RegisterShader(), and vec3_t. Referenced by CG_EntityEvent().
00014 {
00015 // vec3_t dir;
00016 // float len;
00017
00018 trap_FX_AddLine( start, end, 0.1f, 6.0f, 0.0f,
00019 1.0f, 0.0f, 0.0f,
00020 WHITE, WHITE, 0.0f,
00021 150, trap_R_RegisterShader( "gfx/effects/redLine" ),
00022 FX_SIZE_LINEAR | FX_ALPHA_LINEAR );
00023
00024 // VectorSubtract( end, start, dir );
00025 // len = VectorNormalize( dir );
00026
00027 // FX_AddCylinder( start, dir, 5.0f, 5.0f, 0.0f,
00028 // 5.0f, 5.0f, 0.0f,
00029 // len, len, 0.0f,
00030 // 1.0f, 1.0f, 0.0f,
00031 // WHITE, WHITE, 0.0f,
00032 // 400, cgi_R_RegisterShader( "gfx/effects/spiral" ), 0 );
00033 }
|