GAMESTATE:IsDemonstration
remove unused
This commit is contained in:
@@ -2036,6 +2036,7 @@ public:
|
||||
static int GetPreferredDifficulty( T* p, lua_State *L ) { lua_pushnumber(L, p->m_PreferredDifficulty[IArg(1)] ); return 1; }
|
||||
static int AnyPlayerHasRankingFeats( T* p, lua_State *L ) { lua_pushboolean(L, p->AnyPlayerHasRankingFeats() ); return 1; }
|
||||
static int IsCourseMode( T* p, lua_State *L ) { lua_pushboolean(L, p->IsCourseMode() ); return 1; }
|
||||
static int IsDemonstration( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bDemonstrationOrJukebox ); return 1; }
|
||||
static int GetPlayMode( T* p, lua_State *L ) { lua_pushnumber(L, p->m_PlayMode ); return 1; }
|
||||
static int GetSortOrder( T* p, lua_State *L ) { lua_pushnumber(L, p->m_SortOrder ); return 1; }
|
||||
static int IsGoalComplete( T* p, lua_State *L ) { lua_pushboolean(L, p->IsGoalComplete((PlayerNumber)IArg(1)) ); return 1; }
|
||||
@@ -2086,6 +2087,7 @@ public:
|
||||
ADD_METHOD( GetPreferredDifficulty )
|
||||
ADD_METHOD( AnyPlayerHasRankingFeats )
|
||||
ADD_METHOD( IsCourseMode )
|
||||
ADD_METHOD( IsDemonstration )
|
||||
ADD_METHOD( GetPlayMode )
|
||||
ADD_METHOD( GetSortOrder )
|
||||
ADD_METHOD( IsGoalComplete )
|
||||
@@ -2130,8 +2132,6 @@ LUA_REGISTER_CLASS( GameState )
|
||||
|
||||
|
||||
#include "LuaFunctions.h"
|
||||
LuaFunction_NoArgs( IsCourseMode, GAMESTATE->IsCourseMode() )
|
||||
LuaFunction_NoArgs( IsDemonstration, GAMESTATE->m_bDemonstrationOrJukebox )
|
||||
LuaFunction_NoArgs( StageIndex, GAMESTATE->GetStageIndex() )
|
||||
LuaFunction_NoArgs( NumStagesLeft, GAMESTATE->GetNumStagesLeft() )
|
||||
LuaFunction_NoArgs( IsFinalStage, GAMESTATE->IsFinalStage() )
|
||||
|
||||
Reference in New Issue
Block a user