add SetNumSubdivisions

secondsperitem -> setsecondsperitem
This commit is contained in:
Glenn Maynard
2005-12-07 04:19:32 +00:00
parent 7b646dc6b1
commit 5cb8148d30
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -284,7 +284,8 @@ public:
LunaActorScroller() { LUA->Register( Register ); }
static int SetCurrentAndDestinationItem( T* p, lua_State *L ) { p->SetCurrentAndDestinationItem( FArg(1) ); return 0; }
static int secondsperitem( T* p, lua_State *L ) { p->SetSecondsPerItem(FArg(1)); return 0; }
static int setsecondsperitem( T* p, lua_State *L ) { p->SetSecondsPerItem(FArg(1)); return 0; }
static int setnumsubdivisions( T* p, lua_State *L ) { p->SetNumSubdivisions(IArg(1)); return 0; }
static int scrollthroughallitems( T* p, lua_State *L ) { p->ScrollThroughAllItems(); return 0; }
static int scrollwithpadding( T* p, lua_State *L ) { p->ScrollWithPadding(FArg(1),FArg(2)); return 0; }
static int setfastcatchup( T* p, lua_State *L ) { p->SetFastCatchup(BArg(1)); return 0; }
@@ -292,7 +293,8 @@ public:
static void Register(lua_State *L)
{
ADD_METHOD( SetCurrentAndDestinationItem );
ADD_METHOD( secondsperitem );
ADD_METHOD( setsecondsperitem );
ADD_METHOD( setnumsubdivisions );
ADD_METHOD( scrollthroughallitems );
ADD_METHOD( scrollwithpadding );
ADD_METHOD( setfastcatchup );