MCPcopy Create free account
hub / github.com/JACoders/OpenJK / FX_AddSprite

Function FX_AddSprite

codeJK2/cgame/FxUtil.cpp:1520–1533  ·  view source on GitHub ↗

---------------------------------------------------

Source from the content-addressed store, hash-verified

1518
1519//---------------------------------------------------
1520void FX_AddSprite( vec3_t origin, vec3_t vel, vec3_t accel,
1521 float scale, float dscale,
1522 float sAlpha, float eAlpha,
1523 float rotation, float bounce,
1524 int life, qhandle_t shader, int flags )
1525{
1526 FX_AddParticle( origin, vel, accel, scale, scale, 0,
1527 sAlpha, eAlpha, FX_ALPHA_LINEAR,
1528 WHITE, WHITE, 0,
1529 rotation, 0,
1530 vec3_origin, vec3_origin, bounce,
1531 0, 0,
1532 life, shader, flags );
1533}
1534
1535//---------------------------------------------------
1536void FX_AddSprite( vec3_t origin, vec3_t vel, vec3_t accel,

Callers 5

CG_AddViewWeaponFunction · 0.70
CG_ItemFunction · 0.70
CG_PlayerFunction · 0.70
CG_DrawAlertFunction · 0.70

Calls 1

FX_AddParticleFunction · 0.70

Tested by

no test coverage detected