added more info besides FPS to the stats display

This commit is contained in:
Chris Danford
2002-08-18 17:48:50 +00:00
parent 4ec25ba29c
commit 8b55061827
14 changed files with 86 additions and 67 deletions
+2 -1
View File
@@ -54,6 +54,7 @@ ScreenSelectStyle::ScreenSelectStyle()
GAMESTATE->m_bPlayersCanJoin = true;
GAMEMAN->GetGameplayStylesForGame( GAMESTATE->m_CurGame, m_aPossibleStyles );
ASSERT( m_aPossibleStyles.GetSize() > 0 ); // every game should have at least one Style, or else why have the Game? :-)
m_iSelection = 0;
for( int i=0; i<m_aPossibleStyles.GetSize(); i++ )
@@ -379,7 +380,7 @@ void ScreenSelectStyle::UpdateEnabledDisabled()
break;
}
}
ASSERT( iSwitchToStyleIndex != -1 );
ASSERT( iSwitchToStyleIndex != -1 ); // no styles are enabled. We're stuck! This should never happen
m_iSelection = iSwitchToStyleIndex;
AfterChange();