MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / InitializeFXArray

Function InitializeFXArray

TombEngine/Game/items.cpp:570–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570void InitializeFXArray()
571{
572 NextFxActive = NO_VALUE;
573 NextFxFree = 0;
574
575 for (int i = 0; i < MAX_SPAWNED_ITEM_COUNT; i++)
576 EffectList[i].nextFx = i + 1;
577
578 EffectList[MAX_SPAWNED_ITEM_COUNT - 1].nextFx = NO_VALUE;
579}
580
581void RemoveDrawnItem(short itemNumber)
582{

Callers 2

KillEffectFunction · 0.85
DoLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected