add SongCreditDisplay

This commit is contained in:
Chris Danford
2004-01-25 01:59:21 +00:00
parent 08d91fe905
commit bec296636e
6 changed files with 149 additions and 36 deletions
+6 -1
View File
@@ -22,6 +22,7 @@
#include "RageLog.h"
#include "arch/ArchHooks/ArchHooks.h"
#include "RageFileManager.h"
#include "SongCreditDisplay.h"
static Actor* LoadActor( CString sPath )
@@ -98,7 +99,11 @@ Actor* MakeActor( RageTextureID ID )
CString sExt = GetExtension( ID.filename );
sExt.MakeLower();
if( sExt=="actor" )
if( ID.filename.Right(strlen("SongCreditDisplay")) == "SongCreditDisplay" )
{
return new SongCreditDisplay;
}
else if( sExt=="actor" )
{
return LoadActor( ID.filename );
}