oops, GetNumItems served this purpose already
This commit is contained in:
@@ -11,7 +11,6 @@ StepMania 5.0 alpha 1 | 201112xx
|
|||||||
2011/12/27
|
2011/12/27
|
||||||
----------
|
----------
|
||||||
* [MusicWheel] Add IsRouletting Lua binding. [AJ]
|
* [MusicWheel] Add IsRouletting Lua binding. [AJ]
|
||||||
* [WheelBase] Add GetNumWheelItems Lua binding. [AJ]
|
|
||||||
* [LuaManager] Remove GetOSName Lua binding; use GetArchName instead. [AJ]
|
* [LuaManager] Remove GetOSName Lua binding; use GetArchName instead. [AJ]
|
||||||
|
|
||||||
2011/12/26
|
2011/12/26
|
||||||
|
|||||||
@@ -521,7 +521,6 @@ public:
|
|||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
static int GetNumWheelItems( T* p, lua_State *L ){ lua_pushnumber( L, p->GetNumItems() ); return 1; }
|
|
||||||
static int IsSettled( T* p, lua_State *L ){ lua_pushboolean( L, p->IsSettled() ); return 1; }
|
static int IsSettled( T* p, lua_State *L ){ lua_pushboolean( L, p->IsSettled() ); return 1; }
|
||||||
static int IsLocked( T* p, lua_State *L ){ lua_pushboolean( L, p->WheelIsLocked() ); return 1; }
|
static int IsLocked( T* p, lua_State *L ){ lua_pushboolean( L, p->WheelIsLocked() ); return 1; }
|
||||||
static int SetOpenSection( T* p, lua_State *L ){ p->SetOpenSection( SArg(1) ); return 0; }
|
static int SetOpenSection( T* p, lua_State *L ){ p->SetOpenSection( SArg(1) ); return 0; }
|
||||||
@@ -539,7 +538,6 @@ public:
|
|||||||
LunaWheelBase()
|
LunaWheelBase()
|
||||||
{
|
{
|
||||||
ADD_METHOD( GetWheelItem );
|
ADD_METHOD( GetWheelItem );
|
||||||
ADD_METHOD( GetNumWheelItems );
|
|
||||||
ADD_METHOD( IsSettled );
|
ADD_METHOD( IsSettled );
|
||||||
ADD_METHOD( IsLocked );
|
ADD_METHOD( IsLocked );
|
||||||
ADD_METHOD( SetOpenSection );
|
ADD_METHOD( SetOpenSection );
|
||||||
|
|||||||
Reference in New Issue
Block a user