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 );
|
m_Wipe.CloseWipingLeft( SM_GoToPrevScreen );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ScreenOptions::StartGoToNextState()
|
||||||
|
{
|
||||||
|
this->SendScreenMessage( SM_TweenOffScreen, 0 );
|
||||||
|
}
|
||||||
|
|
||||||
void ScreenOptions::MenuStart( PlayerNumber pn )
|
void ScreenOptions::MenuStart( PlayerNumber pn )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -66,8 +66,10 @@ protected:
|
|||||||
void UpdateEnabledDisabled();
|
void UpdateEnabledDisabled();
|
||||||
virtual void OnChange();
|
virtual void OnChange();
|
||||||
|
|
||||||
void MenuBack( PlayerNumber pn );
|
virtual void MenuBack( PlayerNumber pn );
|
||||||
void MenuStart( PlayerNumber pn );
|
virtual void MenuStart( PlayerNumber pn );
|
||||||
|
|
||||||
|
void StartGoToNextState();
|
||||||
|
|
||||||
virtual void GoToNextState() = 0;
|
virtual void GoToNextState() = 0;
|
||||||
virtual void GoToPrevState() = 0;
|
virtual void GoToPrevState() = 0;
|
||||||
|
|||||||
@@ -72,6 +72,12 @@ ScreenOptionsMenu::ScreenOptionsMenu() :
|
|||||||
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","options menu music") );
|
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()
|
void ScreenOptionsMenu::ImportOptions()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ class ScreenOptionsMenu : public ScreenOptions
|
|||||||
public:
|
public:
|
||||||
ScreenOptionsMenu();
|
ScreenOptionsMenu();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void MenuStart( PlayerNumber pn );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void ImportOptions();
|
void ImportOptions();
|
||||||
void ExportOptions();
|
void ExportOptions();
|
||||||
|
|||||||
Reference in New Issue
Block a user