ActorCommands -> ActorUtil::ParseActorCommands

This commit is contained in:
Glenn Maynard
2006-09-21 02:24:22 +00:00
parent 039e263fbc
commit 3a57dca6c4
12 changed files with 28 additions and 19 deletions
+3 -3
View File
@@ -187,12 +187,12 @@ void BackgroundImpl::Init()
RString sCmdLeaves;
bool bSuccess = xml.GetAttrValue( "LeavesCommand", sCmdLeaves );
ASSERT( bSuccess );
bgt.cmdLeaves = ActorCommands( sCmdLeaves );
bgt.cmdLeaves = ActorUtil::ParseActorCommands( sCmdLeaves );
RString sCmdRoot;
bSuccess = xml.GetAttrValue( "RootCommand", sCmdRoot );
ASSERT( bSuccess );
bgt.cmdRoot = ActorCommands( sCmdRoot );
bgt.cmdRoot = ActorUtil::ParseActorCommands( sCmdRoot );
}
}
@@ -715,7 +715,7 @@ void BackgroundImpl::LoadFromSong( const Song* pSong )
* may look something like "BGAnimation, BGAnimationLayer, Sprite" or it
* may be deeper, like "BGAnimation, BGAnimationLayer, BGAnimation,
* BGAnimationLayer, Sprite". */
pBGA->RunCommands( ActorCommands("effectclock,music") );
pBGA->RunCommands( ActorUtil::ParseActorCommands("effectclock,music") );
}
}