From d28496f39e01a7d1df550255c07a3c50a719edd6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 8 Nov 2003 20:37:40 +0000 Subject: [PATCH] add stretchto command --- stepmania/src/Actor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 9fdf09e33f..5e624197f1 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -737,6 +737,7 @@ void Actor::HandleCommand( const CStringArray &asTokens ) // else if( sName=="zoomz" ) SetZoomZ( fParam(1) ); else if( sName=="zoomtowidth" ) ZoomToWidth( fParam(1) ); else if( sName=="zoomtoheight" ) ZoomToHeight( fParam(1) ); + else if( sName=="stretchto" ) StretchTo( RectF( fParam(1), fParam(2), fParam(3), fParam(4) ) ); else if( sName=="cropleft" ) SetCropLeft( fParam(1) ); else if( sName=="croptop" ) SetCropTop( fParam(1) ); else if( sName=="cropright" ) SetCropRight( fParam(1) );