add an option to not display the select group screen

This commit is contained in:
Glenn Maynard
2002-12-15 10:25:20 +00:00
parent ab179acc1a
commit 3e6b2eba89
5 changed files with 24 additions and 8 deletions
+15 -7
View File
@@ -52,6 +52,21 @@ ScreenSelectGroup::ScreenSelectGroup()
LOG->Trace( "ScreenSelectGroup::ScreenSelectGroup()" );
m_Menu.Load(
THEME->GetPathTo("BGAnimations","select group") ,
THEME->GetPathTo("Graphics","select group top edge"),
HELP_TEXT, true, true, TIMER_SECONDS
);
this->AddChild( &m_Menu );
if(!PREFSMAN->m_bShowSelectGroup)
{
GAMESTATE->m_sPreferredGroup = "ALL MUSIC";
m_Menu.ImmedOffScreenToMenu();
this->SendScreenMessage( SM_GoToNextScreen, 0.f );
return;
}
unsigned i;
int j;
@@ -116,13 +131,6 @@ ScreenSelectGroup::ScreenSelectGroup()
m_bChosen = false;
m_Menu.Load(
THEME->GetPathTo("BGAnimations","select group") ,
THEME->GetPathTo("Graphics","select group top edge"),
HELP_TEXT, true, true, TIMER_SECONDS
);
this->AddChild( &m_Menu );
m_sprExplanation.Load( THEME->GetPathTo("Graphics","select group explanation") );
m_sprExplanation.SetXY( EXPLANATION_X, EXPLANATION_Y );
this->AddChild( &m_sprExplanation );