HTML: Difficulty Table -> Percent Complete

This commit is contained in:
Chris Danford
2004-05-08 08:09:18 +00:00
parent cbc1ecd495
commit 4eec17d42e
6 changed files with 174 additions and 58 deletions
+10
View File
@@ -2466,6 +2466,16 @@ CString GameManager::NotesTypeToThemedString( StepsType nt )
return s;
}
CString GameManager::StyleToThemedString( Style style )
{
CString s = GetStyleDefForStyle(style)->m_szName;
s = Capitalize( s );
if( THEME->HasMetric( "Style", s ) )
return THEME->GetMetric( "Style", s );
else
return s;
}
Game GameManager::StringToGameType( CString sGameType )
{
for( int i=0; i<NUM_GAMES; i++ )