Add StepsTypeInfo and return the structure rather than having GameManager methods for each piece of data
This commit is contained in:
@@ -1494,7 +1494,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
|
||||
|
||||
RString s = ssprintf(
|
||||
SWITCHED_TO.GetValue() + " %s %s '%s' (%d of %d)",
|
||||
GAMEMAN->StepsTypeToString( pSteps->m_StepsType ).c_str(),
|
||||
GAMEMAN->GetStepsTypeInfo( pSteps->m_StepsType ).szName,
|
||||
DifficultyToString( pSteps->GetDifficulty() ).c_str(),
|
||||
pSteps->GetDescription().c_str(),
|
||||
it - vSteps.begin() + 1,
|
||||
|
||||
Reference in New Issue
Block a user