adding CustomDifficulty stuff (themable difficulty /StepsType combinations). Doesn't compile - fixing

This commit is contained in:
Chris Danford
2008-11-28 22:02:28 +00:00
parent 261df9636e
commit f18ba1614d
12 changed files with 66 additions and 111 deletions
+1 -2
View File
@@ -2288,8 +2288,7 @@ public:
for( unsigned i=0; i<vpStepsToShow.size(); i++ )
{
const Steps* pSteps = vpStepsToShow[i];
DifficultyDisplayType ddt = MakeDifficultyDisplayType( pSteps->GetDifficulty(), GameManager::GetStepsTypeInfo(pSteps->m_StepsType).m_StepsTypeCategory );
RString sDifficulty = DifficultyDisplayTypeToLocalizedString( ddt );
RString sDifficulty = GetLocalizedCustomDifficulty( pSteps->GetDifficulty(), GameManager::GetStepsTypeInfo(pSteps->m_StepsType).m_StepsTypeCategory );
lua_pushstring( L, sDifficulty );
lua_pushstring( L, pSteps->GetDescription() );