| 307 | } |
| 308 | |
| 309 | static void _PressButtonSound(U32 mask) |
| 310 | { |
| 311 | if (mask & (1 << 3)) |
| 312 | { |
| 313 | zEntPlayer_SNDPlayStreamRandom(0, 16, ePlayerStreamSnd_BowlComment1, |
| 314 | ePlayerStreamSnd_BowlComment3, 0.1f); |
| 315 | zEntPlayer_SNDPlayStreamRandom(16, 35, ePlayerStreamSnd_BowlComment1, |
| 316 | ePlayerStreamSnd_BowlComment4, 0.1f); |
| 317 | zEntPlayer_SNDPlayStreamRandom(36, 100, ePlayerStreamSnd_BowlComment1, |
| 318 | ePlayerStreamSnd_BowlComment5, 0.1f); |
| 319 | } |
| 320 | else if (!(mask & (1 << 11)) && xrand() % 4 == 3) |
| 321 | { |
| 322 | zEntPlayer_SNDPlayStreamRandom(ePlayerStreamSnd_PushButton1, ePlayerStreamSnd_PushButton3, |
| 323 | 0.2f); |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | void zEntButton_Press(_zEntButton* ent, U32 mask) |
| 328 | { |
no test coverage detected