| 454 | } |
| 455 | |
| 456 | void GEC_dfltSound() |
| 457 | { |
| 458 | static U32 aid_sndList[7] = {}; |
| 459 | static signed char init; |
| 460 | |
| 461 | if (!init) |
| 462 | { |
| 463 | // Fun hack. |
| 464 | // FIXME: See if we can figure out why HB01 is in the string table here. |
| 465 | aid_sndList[0] = xStrHash("HB01\0" |
| 466 | "SBG01030" + |
| 467 | 5); |
| 468 | aid_sndList[1] = xStrHash("HB01\0" |
| 469 | "SBG01030" + |
| 470 | 5); |
| 471 | aid_sndList[2] = xStrHash("HB01\0" |
| 472 | "SBG01030" + |
| 473 | 5); |
| 474 | aid_sndList[3] = xStrHash("SBG01017_a"); |
| 475 | aid_sndList[4] = xStrHash("SBG01017_b"); |
| 476 | aid_sndList[5] = xStrHash("SBG01018"); |
| 477 | aid_sndList[6] = xStrHash("SBG01016"); |
| 478 | |
| 479 | // typical scheduling memes |
| 480 | init = 1; |
| 481 | } |
| 482 | |
| 483 | U32 snd = xUtil_choose(aid_sndList, 7, NULL); |
| 484 | |
| 485 | if (snd) |
| 486 | { |
| 487 | xSndPlay(snd, 1.0f, 0.0f, 0x80, 0, 0, SND_CAT_GAME, 0.0f); |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | void GEC_cb_AddShiny() |
| 492 | { |
no test coverage detected