move CommonMetrics into a namespace so that it's clear where they're coming from when used.

This commit is contained in:
Chris Danford
2005-10-27 05:16:19 +00:00
parent 5d7885c764
commit 8b8fa8aad3
25 changed files with 78 additions and 76 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ void OptionRow::PrepareItemText( CString &s ) const
if( m_pParentType->THEME_ITEMS && m_RowDef.m_bAllowThemeItems ) bTheme = true;
if( bTheme )
s = THEME_OPTION_ITEM( s, false );
s = CommonMetrics::ThemeOptionItem( s, false );
if( m_pParentType->CAPITALIZE_ALL_OPTION_NAMES )
s.MakeUpper();
}
@@ -195,7 +195,7 @@ CString OptionRow::GetRowTitle() const
Trail* pTrail = GAMESTATE->m_pCurTrail[GAMESTATE->m_MasterPlayerNumber];
ASSERT( pTrail != NULL );
const int iNumCourseEntries = pTrail->m_vEntries.size();
if( iNumCourseEntries > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
if( iNumCourseEntries > CommonMetrics::MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
bShowBpmInSpeedTitle = false;
}