fix options menu when in arcade input style

This commit is contained in:
Glenn Maynard
2003-02-12 00:41:56 +00:00
parent 9942468079
commit 5a27d51068
4 changed files with 17 additions and 2 deletions
+4
View File
@@ -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 )
{ {
+4 -2
View File
@@ -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;
+6
View File
@@ -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()
{ {
} }
+3
View File
@@ -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();