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

Function PlaySecretTrack

TombEngine/Sound/sound.cpp:1170–1180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170void PlaySecretTrack()
1171{
1172 if (SoundTracks.find(SecretSoundIndex) == SoundTracks.end())
1173 {
1174 TENLog("No secret soundtrack index was found!", LogLevel::Warning);
1175 return;
1176 }
1177
1178 // Secret soundtrack should be always last one on a list.
1179 PlaySoundTrack(SoundTracks.at(SecretSoundIndex).Name, SoundTrackType::OneShot);
1180}
1181
1182int GetShatterSound(int shatterID)
1183{

Callers 2

TestTriggersFunction · 0.85
AddSecretMethod · 0.85

Calls 5

TENLogFunction · 0.85
PlaySoundTrackFunction · 0.85
findMethod · 0.45
endMethod · 0.45
atMethod · 0.45

Tested by 1

TestTriggersFunction · 0.68