mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Podium S Rank sound
This commit is contained in:
parent
7864b6e024
commit
a14080cb40
3 changed files with 8 additions and 0 deletions
|
|
@ -378,6 +378,8 @@ void podiumData_s::Tick(void)
|
||||||
case PODIUM_ST_GRADE_APPEAR:
|
case PODIUM_ST_GRADE_APPEAR:
|
||||||
{
|
{
|
||||||
S_StartSound(nullptr, sfx_rank);
|
S_StartSound(nullptr, sfx_rank);
|
||||||
|
if (K_CalculateGPGrade(&rank) >= GRADE_S)
|
||||||
|
S_StartSoundAtVolume(nullptr, sfx_srank, 200);
|
||||||
state = PODIUM_ST_GRADE_VOICE;
|
state = PODIUM_ST_GRADE_VOICE;
|
||||||
delay = TICRATE/2;
|
delay = TICRATE/2;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1505,6 +1505,9 @@ sfxinfo_t S_sfx[NUMSFX] =
|
||||||
{"cftbl0", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
{"cftbl0", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||||
{"cftbl1", 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, ""},
|
{"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
|
// Generic menu SFX
|
||||||
{"tmxatt", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // Attention
|
{"tmxatt", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // Attention
|
||||||
|
|
|
||||||
|
|
@ -1581,6 +1581,9 @@ typedef enum
|
||||||
sfx_cftbl0,
|
sfx_cftbl0,
|
||||||
sfx_cftbl1,
|
sfx_cftbl1,
|
||||||
sfx_cftbl2,
|
sfx_cftbl2,
|
||||||
|
|
||||||
|
// S-erotonin
|
||||||
|
sfx_srank,
|
||||||
|
|
||||||
// Generic menu SFX
|
// Generic menu SFX
|
||||||
sfx_tmxatt,
|
sfx_tmxatt,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue