From ba66d3f4b3097298ea8c9fb7027ef6001eb354ad Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 28 Jul 2006 23:25:45 +0000 Subject: [PATCH] remove bindings; use eg. sprite:GetTexture():loop( f ) --- stepmania/src/Sprite.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 856eed0f6c..6ca816f6ea 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -930,14 +930,6 @@ public: return 1; } - /* 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 - * shouldn't depend on Actor. */ - static int position( T* p, lua_State *L ) { p->SetPosition( FArg(1) ); return 0; } - static int loop( T* p, lua_State *L ) { p->SetLooping( !!IArg(1) ); return 0; } - static int rate( T* p, lua_State *L ) { p->SetPlaybackRate( FArg(1) ); return 0; } - static void Register(lua_State *L) { ADD_METHOD( Load ); ADD_METHOD( LoadBanner ); @@ -949,9 +941,6 @@ public: ADD_METHOD( setstate ); ADD_METHOD( GetAnimationLengthSeconds ); ADD_METHOD( GetTexture ); - ADD_METHOD( position ); - ADD_METHOD( loop ); - ADD_METHOD( rate ); Luna::Register( L ); }