CustomDiffiuclty cleanup, now takes CourseType as a parameter

DifficultyList -> StepsDisplayList
Course editor screen cleanup
Change GameManager back to singleton for consistency with other classes
This commit is contained in:
Chris Danford
2009-08-09 02:59:32 +00:00
parent 204f7edac0
commit cd139430f5
72 changed files with 537 additions and 447 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ void StyleID::FromStyle( const Style *p )
{
if( p )
{
sGame = GameManager::GetGameForStyle(p)->m_szName;
sGame = GAMEMAN->GetGameForStyle(p)->m_szName;
sStyle = p->m_szName;
}
else
@@ -22,11 +22,11 @@ void StyleID::FromStyle( const Style *p )
const Style *StyleID::ToStyle() const
{
const Game* pGame = GameManager::StringToGame( sGame );
const Game* pGame = GAMEMAN->StringToGame( sGame );
if( pGame == NULL )
return NULL;
return GameManager::GameAndStringToStyle( pGame, sStyle );
return GAMEMAN->GameAndStringToStyle( pGame, sStyle );
}
XNode* StyleID::CreateNode() const