add DefaultSong, move DefaultSort into GameState, show machine scores for edits

This commit is contained in:
Chris Danford
2005-06-12 03:44:13 +00:00
parent 7374f1566e
commit 933e1320da
5 changed files with 19 additions and 17 deletions
-3
View File
@@ -175,7 +175,6 @@ void PaneDisplay::SetContent( PaneContents c )
const Course *pCourse = GAMESTATE->m_pCurCourse;
const Trail *pTrail = GAMESTATE->m_pCurTrail[m_PlayerNumber];
const Profile *pProfile = PROFILEMAN->IsPersistentProfile(m_PlayerNumber) ? PROFILEMAN->GetProfile(m_PlayerNumber) : NULL;
bool bIsEdit = pSteps && pSteps->GetDifficulty() == DIFFICULTY_EDIT;
if( (g_Contents[c].req&NEED_NOTES) && !pSteps )
goto done;
@@ -224,8 +223,6 @@ void PaneDisplay::SetContent( PaneContents c )
case SONG_MACHINE_HIGH_NAME: /* set val for color */
case SONG_MACHINE_HIGH_SCORE:
CHECKPOINT;
if( bIsEdit )
goto done; // no machine scores for edits
val = PROFILEMAN->GetMachineProfile()->GetStepsHighScoreList(pSong,pSteps).GetTopScore().fPercentDP;
break;