fix options menu when in arcade input style
This commit is contained in:
@@ -458,6 +458,10 @@ void ScreenOptions::MenuBack( PlayerNumber pn )
|
||||
m_Wipe.CloseWipingLeft( SM_GoToPrevScreen );
|
||||
}
|
||||
|
||||
void ScreenOptions::StartGoToNextState()
|
||||
{
|
||||
this->SendScreenMessage( SM_TweenOffScreen, 0 );
|
||||
}
|
||||
|
||||
void ScreenOptions::MenuStart( PlayerNumber pn )
|
||||
{
|
||||
|
||||
@@ -66,8 +66,10 @@ protected:
|
||||
void UpdateEnabledDisabled();
|
||||
virtual void OnChange();
|
||||
|
||||
void MenuBack( PlayerNumber pn );
|
||||
void MenuStart( PlayerNumber pn );
|
||||
virtual void MenuBack( PlayerNumber pn );
|
||||
virtual void MenuStart( PlayerNumber pn );
|
||||
|
||||
void StartGoToNextState();
|
||||
|
||||
virtual void GoToNextState() = 0;
|
||||
virtual void GoToPrevState() = 0;
|
||||
|
||||
@@ -72,6 +72,12 @@ ScreenOptionsMenu::ScreenOptionsMenu() :
|
||||
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","options menu music") );
|
||||
}
|
||||
|
||||
/* We depend on the SM options navigation for this screen, not arcade. */
|
||||
void ScreenOptionsMenu::MenuStart( PlayerNumber pn )
|
||||
{
|
||||
StartGoToNextState();
|
||||
}
|
||||
|
||||
void ScreenOptionsMenu::ImportOptions()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -23,6 +23,9 @@ class ScreenOptionsMenu : public ScreenOptions
|
||||
public:
|
||||
ScreenOptionsMenu();
|
||||
|
||||
protected:
|
||||
void MenuStart( PlayerNumber pn );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
void ExportOptions();
|
||||
|
||||
Reference in New Issue
Block a user