cleanup Model, remove MathUtil files, fix col major/row major errors

This commit is contained in:
Chris Danford
2003-12-24 12:30:41 +00:00
parent 6833773781
commit e3cc4e3ff5
13 changed files with 202 additions and 379 deletions
+4 -2
View File
@@ -298,15 +298,17 @@ void PaneDisplay::SetContent( PaneContents c )
str = ssprintf( "%.0f", val );
}
int p;
/* If this is a high score name that was set during this game, use the player's name. */
for( int p=0; p < NUM_PLAYERS; ++p )
for( p=0; p < NUM_PLAYERS; ++p )
if( str == RANKING_TO_FILL_IN_MARKER[p] )
str = PROFILEMAN->GetPlayerName( (PlayerNumber)p );
m_textContents[c].SetText( str );
const unsigned num = NUM_ITEM_COLORS( g_Contents[c].name );
for( unsigned p = 0; p < num; ++p )
for( p = 0; p < num; ++p )
{
const CString metric = ITEM_COLOR(g_Contents[c].name, p);
CStringArray spec;