allow specifying a Lua function for a command with "%funciton(self) self:blah end"

This commit is contained in:
Chris Danford
2005-02-23 19:15:24 +00:00
parent 53f7fbd890
commit 42c5e2b3f9
15 changed files with 105 additions and 89 deletions
+2 -2
View File
@@ -414,10 +414,10 @@ void ScreenEz2SelectMusic::MenuBack( PlayerNumber pn )
void ScreenEz2SelectMusic::TweenOffScreen()
{
ActorCommands cmds( ParseCommands("linear,0.5;zoomy,0") );
ActorCommands cmds( "linear,0.5;zoomy,0" );
m_MusicBannerWheel.RunCommands( cmds );
ActorCommands cmds2( ParseCommands("Linear,1;DiffuseAlpha,0") );
ActorCommands cmds2( "Linear,1;DiffuseAlpha,0" );
m_PumpDifficultyCircle.RunCommands( cmds2 );
m_Guide.RunCommands( cmds2 );
m_PumpDifficultyRating.RunCommands( cmds2 );