GAMESTATE:IsDemonstration

remove unused
This commit is contained in:
Glenn Maynard
2005-05-29 21:46:57 +00:00
parent 767459bf4e
commit 757639b9c7
+2 -2
View File
@@ -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() )