From d6a972cbbbec19abd15f46195010230e87ac9eee Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 26 Feb 2005 19:54:13 +0000 Subject: [PATCH] setstate --- stepmania/src/Sprite.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Sprite.h b/stepmania/src/Sprite.h index 6f6ce42d0f..d94bf3ef9b 100644 --- a/stepmania/src/Sprite.h +++ b/stepmania/src/Sprite.h @@ -20,6 +20,7 @@ public: static int texcoordvelocity( T* p, lua_State *L ) { p->SetTexCoordVelocity( FArg(1),FArg(2) ); return 0; } static int scaletoclipped( T* p, lua_State *L ) { p->ScaleToClipped( FArg(1),FArg(2) ); return 0; } static int stretchtexcoords( T* p, lua_State *L ) { p->StretchTexCoords( FArg(1),FArg(2) ); return 0; } + static int setstate( T* p, lua_State *L ) { p->SetState( IArg(1) ); return 0; } /* Texture commands; these could be moved to RageTexture* (even though that's * not an Actor) if these are needed for other things that use textures. * We'd need to break the command helpers into a separate function; RageTexture @@ -33,6 +34,7 @@ public: ADD_METHOD( texcoordvelocity ) ADD_METHOD( scaletoclipped ) ADD_METHOD( stretchtexcoords ) + ADD_METHOD( setstate ) ADD_METHOD( position ) ADD_METHOD( loop ) ADD_METHOD( rate )