Add audio category to options menu

The audio category contains the MMMMMM soundtrack option, as well as
stubs for the soon-to-be-implemented volume slider options.
This commit is contained in:
Misa
2021-04-11 15:18:35 -07:00
committed by Ethan Lee
parent 5133d58777
commit 2a3f17f1f7
4 changed files with 102 additions and 36 deletions

View File

@@ -6031,13 +6031,9 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
case Menu::options:
option("gameplay");
option("graphics");
option("audio");
option("game pad");
option("accessibility");
//Add extra menu for mmmmmm mod
if(music.mmmmmm){
option("soundtrack");
}
option("return");
menuyoff = 0;
maxspacing = 15;
@@ -6058,6 +6054,17 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
menuyoff = 0;
maxspacing = 15;
break;
case Menu::audiooptions:
option("music volume");
option("sound volume");
if (music.mmmmmm)
{
option("soundtrack");
}
option("return");
menuyoff = 0;
maxspacing = 15;
break;
case Menu::accessibility:
#if !defined(MAKEANDPLAY)
option("unlock play modes");