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

Function FX_AddSprite

code/cgame/FxUtil.cpp:1348–1361  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1346
1347//---------------------------------------------------
1348void FX_AddSprite( vec3_t origin, vec3_t vel, vec3_t accel,
1349 float scale, float dscale,
1350 float sAlpha, float eAlpha,
1351 float rotation, float bounce,
1352 int life, qhandle_t shader, int flags )
1353{
1354 FX_AddParticle( -1, origin, vel, accel, 0, scale, scale, 0,
1355 sAlpha, eAlpha, FX_ALPHA_LINEAR,
1356 WHITE, WHITE, 0,
1357 rotation, 0,
1358 vec3_origin, vec3_origin, bounce,
1359 0, 0,
1360 life, shader, flags );
1361}
1362
1363//---------------------------------------------------
1364void 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