From 964ceb6e0ece08315d545fbe2051a1db597de27d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 7 Jan 2005 21:27:30 +0000 Subject: [PATCH] handle &aliases; in .actor text --- stepmania/src/ActorUtil.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 4e4488b404..180bc2f8da 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -16,6 +16,7 @@ #include "RageTextureManager.h" #include "SongManager.h" #include "Course.h" +#include "FontCharAliases.h" #include "arch/Dialog/Dialog.h" @@ -80,6 +81,9 @@ Actor* LoadFromActorFile( const CString& sAniDir, const XNode& layer ) text.Replace( "::", "\n" ); alttext.Replace( "::", "\n" ); + FontCharAliases::ReplaceMarkers( text ); + FontCharAliases::ReplaceMarkers( alttext ); + BitmapText* pBitmapText = new BitmapText; pBitmapText->LoadFromFont( THEME->GetPathToF( sFile ) );