mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 's-rank-sound' into 'master'
Podium S Rank sound See merge request KartKrew/Kart!2024
This commit is contained in:
commit
1874c8a51e
3 changed files with 8 additions and 0 deletions
|
|
@ -378,6 +378,8 @@ void podiumData_s::Tick(void)
|
|||
case PODIUM_ST_GRADE_APPEAR:
|
||||
{
|
||||
S_StartSound(nullptr, sfx_rank);
|
||||
if (K_CalculateGPGrade(&rank) >= GRADE_S)
|
||||
S_StartSoundAtVolume(nullptr, sfx_srank, 200);
|
||||
state = PODIUM_ST_GRADE_VOICE;
|
||||
delay = TICRATE/2;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1505,6 +1505,9 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"cftbl0", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"cftbl1", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"cftbl2", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
// S-erotonin
|
||||
{"srank", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
// Generic menu SFX
|
||||
{"tmxatt", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // Attention
|
||||
|
|
|
|||
|
|
@ -1581,6 +1581,9 @@ typedef enum
|
|||
sfx_cftbl0,
|
||||
sfx_cftbl1,
|
||||
sfx_cftbl2,
|
||||
|
||||
// S-erotonin
|
||||
sfx_srank,
|
||||
|
||||
// Generic menu SFX
|
||||
sfx_tmxatt,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue