| 67 | static Vector3 oldMikePos = Vector3::Zero; |
| 68 | |
| 69 | void SetVolumeTracks(int vol) |
| 70 | { |
| 71 | GlobalMusicVolume = vol; |
| 72 | |
| 73 | float fVol = static_cast<float>(vol) / 100.0f; |
| 74 | for (int i = 0; i < (int)SoundTrackType::Count; i++) |
| 75 | { |
| 76 | if (BASS_ChannelIsActive(SoundtrackSlot[i].Channel)) |
| 77 | BASS_ChannelSetAttribute(SoundtrackSlot[i].Channel, BASS_ATTRIB_VOL, fVol); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | void SetVolumeFX(int vol) |
| 82 | { |
no outgoing calls
no test coverage detected