course edit screen functional

This commit is contained in:
Chris Danford
2003-08-11 06:09:57 +00:00
parent cbe81a034e
commit e9a452e8da
10 changed files with 296 additions and 105 deletions
+15 -6
View File
@@ -346,7 +346,11 @@ void ScreenPlayerOptions::ExportOptions()
//
// apply difficulty selection
//
if( GAMESTATE->m_pCurCourse ) // playing a course
if( GAMESTATE->m_bEditing )
{
// do nothing
}
else if( GAMESTATE->m_pCurCourse ) // playing a course
{
if( m_iSelectedOption[p][PO_STEP] == 1 )
{
@@ -387,14 +391,19 @@ void ScreenPlayerOptions::GoToPrevState()
void ScreenPlayerOptions::GoToNextState()
{
GAMESTATE->AdjustFailType();
if( GAMESTATE->m_bEditing )
{
SCREENMAN->PopTopScreen();
else if( m_bGoToOptions )
SCREENMAN->SetNewScreen( NEXT_SCREEN(GAMESTATE->m_PlayMode) );
}
else
SCREENMAN->SetNewScreen( ScreenSongOptions::GetNextScreen() );
{
GAMESTATE->AdjustFailType();
if( m_bGoToOptions )
SCREENMAN->SetNewScreen( NEXT_SCREEN(GAMESTATE->m_PlayMode) );
else
SCREENMAN->SetNewScreen( ScreenSongOptions::GetNextScreen() );
}
}