add Lua method
This commit is contained in:
@@ -1997,6 +1997,7 @@ public:
|
||||
static int IsExtraStage( T* p, lua_State *L ) { lua_pushboolean(L, p->IsExtraStage() ); return 1; }
|
||||
static int IsExtraStage2( T* p, lua_State *L ) { lua_pushboolean(L, p->IsExtraStage2() ); return 1; }
|
||||
static int GetEasiestStepsDifficulty( T* p, lua_State *L ){ lua_pushnumber(L, p->GetEasiestStepsDifficulty() ); return 1; }
|
||||
static int IsEventMode( T* p, lua_State *L ) { lua_pushboolean(L, p->IsEventMode() ); return 1; }
|
||||
|
||||
static void Register(lua_State *L)
|
||||
{
|
||||
@@ -2028,6 +2029,7 @@ public:
|
||||
ADD_METHOD( IsExtraStage )
|
||||
ADD_METHOD( IsExtraStage2 )
|
||||
ADD_METHOD( GetEasiestStepsDifficulty )
|
||||
ADD_METHOD( IsEventMode )
|
||||
|
||||
Luna<T>::Register( L );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user