| 242 | } |
| 243 | } |
| 244 | static void set_volume(S32 which, F32 new_vol) |
| 245 | { |
| 246 | const sound_group& sg = sound_groups[which]; |
| 247 | if (sg.first > sg.last) |
| 248 | { |
| 249 | return; |
| 250 | } |
| 251 | if (sg.streamed) |
| 252 | { |
| 253 | return; |
| 254 | } |
| 255 | for (S32 i = sg.first; i <= sg.last; ++i) |
| 256 | { |
| 257 | zEntPlayer_SNDSetVol((_tagePlayerSnd)i, new_vol); |
| 258 | } |
| 259 | } |
| 260 | static void init_models() |
| 261 | { |
| 262 | shared.root_model = globals.player.ent.model; |
nothing calls this directly
no test coverage detected