| 1168 | } |
| 1169 | |
| 1170 | void 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 | |
| 1182 | int GetShatterSound(int shatterID) |
| 1183 | { |