combine .actor and BGALayer loading

make BGAniLayer derive from ActorFrame
This commit is contained in:
Chris Danford
2004-01-25 22:22:40 +00:00
parent e829a93f8d
commit 88cca70487
8 changed files with 236 additions and 230 deletions
+3 -3
View File
@@ -741,9 +741,9 @@ void Actor::HandleCommand( const ParsedCommand &command )
else if( sName=="x" ) SetX( fParam(1) );
else if( sName=="y" ) SetY( fParam(1) );
else if( sName=="z" ) SetZ( fParam(1) );
else if( sName=="addx" ) SetX( GetX()+fParam(1) );
else if( sName=="addy" ) SetY( GetY()+fParam(1) );
else if( sName=="addz" ) SetZ( GetZ()+fParam(1) );
else if( sName=="addx" ) SetX( GetDestX()+fParam(1) );
else if( sName=="addy" ) SetY( GetDestY()+fParam(1) );
else if( sName=="addz" ) SetZ( GetDestZ()+fParam(1) );
else if( sName=="zoom" ) SetZoom( fParam(1) );
else if( sName=="zoomx" ) SetZoomX( fParam(1) );
else if( sName=="zoomy" ) SetZoomY( fParam(1) );