ActorCommands -> ActorUtil::ParseActorCommands
This commit is contained in:
@@ -284,7 +284,7 @@ void Actor::LoadFromNode( const RString& sDir, const XNode* pNode )
|
|||||||
c->GetAttrValue( "Value", sValue );
|
c->GetAttrValue( "Value", sValue );
|
||||||
|
|
||||||
LuaHelpers::RunAtExpressionS( sName );
|
LuaHelpers::RunAtExpressionS( sName );
|
||||||
apActorCommands apac = ActorCommands( sValue );
|
apActorCommands apac = ActorUtil::ParseActorCommands( sValue );
|
||||||
|
|
||||||
AddCommand( sName, apac );
|
AddCommand( sName, apac );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ void HighScoreWheelItem::LoadBlank( int iRankIndex )
|
|||||||
|
|
||||||
void HighScoreWheelItem::ShowFocus()
|
void HighScoreWheelItem::ShowFocus()
|
||||||
{
|
{
|
||||||
apActorCommands c = ActorCommands( "diffuseshift;EffectColor1,1,1,0,1;EffectColor2,0,1,1,1" );
|
apActorCommands c = ActorUtil::ParseActorCommands( "diffuseshift;EffectColor1,1,1,0,1;EffectColor2,0,1,1,1" );
|
||||||
m_textRank.RunCommands( c );
|
m_textRank.RunCommands( c );
|
||||||
m_textName.RunCommands( c );
|
m_textName.RunCommands( c );
|
||||||
m_textScore.RunCommands( c );
|
m_textScore.RunCommands( c );
|
||||||
|
|||||||
Reference in New Issue
Block a user