mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Menus/Match Race: sounds for Z/Y buttons
This commit is contained in:
parent
9e26697e11
commit
abbaf78ff1
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