- added a sound for advancing multi-screen menus.

Fixes #100.
This commit is contained in:
Christoph Oelckers 2020-08-05 00:32:29 +02:00
parent f363aca1b7
commit 454e0e36c9
3 changed files with 5 additions and 3 deletions

View file

@ -119,7 +119,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
delete mCurrent;
}
mCurrent = next;
//gi->MenuSound(GameInterface::ChooseSound);
gi->MenuSound(ChooseSound);
}
return true;
@ -135,7 +135,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
delete mCurrent;
}
mCurrent = next;
//gi->MenuSound(GameInterface::ChooseSound);
gi->MenuSound(ChooseSound);
}
return true;

View file

@ -94,7 +94,8 @@ enum EMenuSounds : int
BackSound,
CloseSound,
PageSound,
ChangeSound
ChangeSound,
ChooseSound
};
EXTERN_CVAR(Bool, menu_sounds)

View file

@ -231,6 +231,7 @@ void GameInterface::MenuSound(EMenuSounds snd)
S_MenuSound();
break;
case ChooseSound:
case CursorSound:
S_PlaySound(isRR() ? 335 : KICK_HIT, CHAN_AUTO, CHANF_UI);
break;