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

Function GetShatterSound

TombEngine/Sound/sound.cpp:1182–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180}
1181
1182int GetShatterSound(int shatterID)
1183{
1184 auto fxID = Statics[shatterID].shatterSound;
1185 if (fxID != NO_VALUE && fxID < g_Level.SoundMap.size())
1186 return fxID;
1187
1188 return SFX_TR4_SMASH_ROCK;
1189}
1190
1191void PlaySoundSources()
1192{

Callers 6

ControlExplosionFunction · 0.85
ControlGunShipFunction · 0.85
RomanStatueControlFunction · 0.85
GetTargetOnLOSFunction · 0.85
HandleProjectileFunction · 0.85
DoObjectCollisionFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected