From e45a53ad62c3decf593086c64fe017d40ac7e89e Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 25 Mar 2005 07:22:10 +0000 Subject: [PATCH] support aliases in mini menu text --- stepmania/src/ScreenMiniMenu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/ScreenMiniMenu.cpp b/stepmania/src/ScreenMiniMenu.cpp index 1a81bf0cdf..b91a03ff48 100644 --- a/stepmania/src/ScreenMiniMenu.cpp +++ b/stepmania/src/ScreenMiniMenu.cpp @@ -10,6 +10,7 @@ #include "ScreenDimensions.h" #include "CommonMetrics.h" #include "GameState.h" +#include "FontCharAliases.h" const AutoScreenMessage SM_GoToOK; const AutoScreenMessage SM_GoToCancel; @@ -55,6 +56,8 @@ void ScreenMiniMenu::Init( const Menu* pDef, ScreenMessage SM_SendOnOK, ScreenMe OptionRowDefinition &ord = vDefs[r]; ord.name = mr.sName; + FontCharAliases::ReplaceMarkers( ord.name ); // Allow special characters + if( mr.bEnabled ) { ord.m_vEnabledForPlayers.clear(); @@ -72,6 +75,9 @@ void ScreenMiniMenu::Init( const Menu* pDef, ScreenMessage SM_SendOnOK, ScreenMe ord.m_bExportOnChange = false; ord.choices = mr.choices; + + FOREACH( CString, ord.choices, c ) + FontCharAliases::ReplaceMarkers( *c ); // Allow special characters } vector vHands;