diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 67c0931f35..f0a4e2a8f3 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1976,6 +1976,8 @@ public: static int IsFinalStage( T* p, lua_State *L ) { lua_pushboolean(L, p->IsFinalStage() ); return 1; } 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 GetCurrentStage( T* p, lua_State *L ) { lua_pushnumber(L, p->GetCurrentStage() ); return 1; } + static int IsStagePossible( T* p, lua_State *L ) { lua_pushboolean(L, p->IsStagePossible((Stage)IArg(1)) ); return 1; } static int HasEarnedExtraStage( T* p, lua_State *L ) { lua_pushboolean(L, p->HasEarnedExtraStage() ); 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; } @@ -2050,6 +2052,8 @@ public: ADD_METHOD( IsFinalStage ) ADD_METHOD( IsExtraStage ) ADD_METHOD( IsExtraStage2 ) + ADD_METHOD( GetCurrentStage ) + ADD_METHOD( IsStagePossible ) ADD_METHOD( HasEarnedExtraStage ) ADD_METHOD( GetEasiestStepsDifficulty ) ADD_METHOD( IsEventMode )