mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'match-race-menu-sounds' into 'master'
Menus/Match Race: sounds for Z/Y buttons Closes #987 See merge request KartKrew/Kart!1888
This commit is contained in:
commit
af14e43926
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,8 @@
|
||||||
#include "../i_time.h"
|
#include "../i_time.h"
|
||||||
#include "../k_menu.h"
|
#include "../k_menu.h"
|
||||||
#include "../m_cond.h" // Condition Sets
|
#include "../m_cond.h" // Condition Sets
|
||||||
|
#include "../s_sound.h"
|
||||||
|
#include "../sounds.h"
|
||||||
|
|
||||||
menuitem_t PLAY_RaceDifficulty[] =
|
menuitem_t PLAY_RaceDifficulty[] =
|
||||||
{
|
{
|
||||||
|
|
@ -44,6 +46,8 @@ static void tick_routine(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
S_StartSound(NULL, sfx_s23b);
|
||||||
|
|
||||||
switch (g_drace_timer.dist)
|
switch (g_drace_timer.dist)
|
||||||
{
|
{
|
||||||
case drace_mritems:
|
case drace_mritems:
|
||||||
|
|
@ -76,6 +80,7 @@ static boolean input_routine(INT32 ch)
|
||||||
{
|
{
|
||||||
g_drace_timer.start = I_GetTime();
|
g_drace_timer.start = I_GetTime();
|
||||||
g_drace_timer.dist = i;
|
g_drace_timer.dist = i;
|
||||||
|
S_StartSound(NULL, sfx_s3k5b);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue