Added requirepasschallengesteps Lua binding.

This commit is contained in:
Jason Felds
2011-08-22 22:56:13 -04:00
parent 509f70f54a
commit 7771ccf91a
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ StepMania 5.0 $next | 2011????
* [PrefsManager, X11Helper] Added ShowMouseCursor preference. [AJ]
* [UnlockManager] Added GetStepOfAllTypes Lua binding. This gets the locked
Steps for all game types based on the difficulty specified. [Wolfman2000]
* [UnlockManager] Added requirepasschallengesteps Lua binding. This is more
self-explanitory: pass challenge to be able to play edits. [Wolfman2000]
2011/08/21
----------
+2
View File
@@ -868,6 +868,7 @@ public:
static int code( T* p, lua_State *L ) { p->m_sEntryID = SArg(1); return 0; }
static int roulette( T* p, lua_State *L ) { p->m_bRoulette = true; return 0; }
static int requirepasshardsteps( T* p, lua_State *L ) { p->m_bRequirePassHardSteps = true; return 0; }
static int requirepasschallengesteps( T* p, lua_State *L ) { p->m_bRequirePassChallengeSteps = true; return 0; }
static int require( T* p, lua_State *L )
{
const UnlockRequirement ut = Enum::Check<UnlockRequirement>( L, 1 );
@@ -897,6 +898,7 @@ public:
ADD_METHOD( code );
ADD_METHOD( roulette );
ADD_METHOD( requirepasshardsteps );
ADD_METHOD( requirepasschallengesteps );
ADD_METHOD( require );
}
};