From 51c2c4c2a6ba8eb3c422e92064f151927a9e70f8 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 25 Jan 2004 05:35:18 +0000 Subject: [PATCH] translate difficulty name --- stepmania/src/SongCreditDisplay.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/stepmania/src/SongCreditDisplay.cpp b/stepmania/src/SongCreditDisplay.cpp index 66dc2ae604..0490861904 100644 --- a/stepmania/src/SongCreditDisplay.cpp +++ b/stepmania/src/SongCreditDisplay.cpp @@ -14,6 +14,7 @@ #include "GameState.h" #include "song.h" #include "Steps.h" +#include "SongManager.h" SongCreditDisplay::SongCreditDisplay() { @@ -36,7 +37,13 @@ SongCreditDisplay::SongCreditDisplay() for( unsigned i=0; iGetDifficulty()) ) + " steps by " + pSteps->GetDescription(); + CString sDifficulty = SONGMAN->GetDifficultyThemeName( pSteps->GetDifficulty() ); + + // HACK: reset capitalization + sDifficulty.MakeLower(); + sDifficulty = Capitalize( sDifficulty ); + + s += sDifficulty + " steps: " + pSteps->GetDescription(); s += "\n"; }