From ba3c743eeb8cb602bcbe321ce02628a7ff6b2133 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 22 Apr 2003 22:11:18 +0000 Subject: [PATCH] comments --- stepmania/src/Actor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index c92cd1ea66..4516541d9b 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -661,7 +661,7 @@ void Actor::Command( CString sCommandString ) CString& sName = asTokens[0]; sName.MakeLower(); - // Act on command + // Commands that go in the tweening queue: if ( sName=="sleep" ) BeginTweening( fParam(1), TWEEN_LINEAR ); else if( sName=="linear" ) BeginTweening( fParam(1), TWEEN_LINEAR ); else if( sName=="accelerate" ) BeginTweening( fParam(1), TWEEN_ACCELERATE ); @@ -715,6 +715,7 @@ void Actor::Command( CString sCommandString ) else if( sName=="effectcolor2" ) SetEffectColor2( RageColor(fParam(1),fParam(2),fParam(3),fParam(4)) ); else if( sName=="effectperiod" ) SetEffectPeriod( fParam(1) ); else if( sName=="effectmagnitude" ) SetEffectMagnitude( RageVector3(fParam(1),fParam(2),fParam(3)) ); + // Commands that take effect immediately (ignoring the tweening queue): else if( sName=="animate" ) EnableAnimation( bParam(1) ); else if( sName=="texturewrapping" ) EnableTextureWrapping( bParam(1) ); else if( sName=="additiveblend" ) EnableAdditiveBlend( bParam(1) );