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

Function DoLotsOfBlood

TombEngine/Game/effects/effects.cpp:1194–1204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194void DoLotsOfBlood(int x, int y, int z, int speed, short direction, short roomNumber, int count)
1195{
1196 for (int i = 0; i < count; i++)
1197 {
1198 DoBloodSplat(
1199 x + 256 - (GetRandomControl() * 512 / 0x8000),
1200 y + 256 - (GetRandomControl() * 512 / 0x8000),
1201 z + 256 - (GetRandomControl() * 512 / 0x8000),
1202 speed, direction, roomNumber);
1203 }
1204}
1205
1206void TriggerLaraBlood()
1207{

Callers 13

ControlSpinningBladeFunction · 0.85
CollideTrainFunction · 0.85
MPGunControlFunction · 0.85
CivvyControlFunction · 0.85
MPStickControlFunction · 0.85
KayakToItemCollisionFunction · 0.85
DoUserInputFunction · 0.85
CollideDamoclesSwordFunction · 0.85
CollideMovingLaserFunction · 0.85
CollideSpikyCeilingFunction · 0.85
CollideSpikyWallFunction · 0.85

Calls 2

DoBloodSplatFunction · 0.85
GetRandomControlFunction · 0.85

Tested by

no test coverage detected