Add RefreshNoteSkinData lua binding.

If anyone recalls the other ways of getting
arbitrary games, a similar binding could be
added to NoteSkinManager.
This commit is contained in:
Jason Felds
2011-11-06 10:36:08 -05:00
parent 98c9515c37
commit 34f3ff2c31
4 changed files with 16 additions and 0 deletions
+5
View File
@@ -8,6 +8,11 @@ ________________________________________________________________________________
StepMania 5.0 $next | 2011xxxx
--------------------------------------------------------------------------------
2011/11/06
----------
* [GameState] Add the RefreshNoteSkinData lua binding. This will only
refresh the NS data for the present game, not all games. [Wolfman2000]
2011/11/02
----------
* [ArchHooks] Add the GetArchName lua binding. To the themers that use
+1
View File
@@ -793,6 +793,7 @@
<Function name='JoinPlayer'/>
<Function name='PlayerIsUsingModifier'/>
<Function name='PlayersCanJoin'/>
<Function name='RefreshNoteSkinData'/>
<Function name='Reset'/>
<Function name='ResetPlayerOptions'/>
<Function name='SaveLocalData'/>
+3
View File
@@ -2126,6 +2126,9 @@
<Function name='PlayersCanJoin' return='bool' arguments=''>
Returns <code>true</code> if players can join the game.
</Function>
<Function name='RefreshNoteSkinData' return='void' arguments=''>
Refreshes the NoteSkin data for the current game.
</Function>
<Function name='Reset' return='void' arguments=''>
Resets the GameState.
</Function>
+7
View File
@@ -2456,6 +2456,12 @@ public:
return 0;
}
static int RefreshNoteSkinData( T* p, lua_State *L )
{
NOTESKIN->RefreshNoteSkinData(p->m_pCurGame);
return 0;
}
static int Dopefish( T* p, lua_State *L )
{
lua_pushboolean(L, p->m_bDopefish);
@@ -2566,6 +2572,7 @@ public:
ADD_METHOD( AddStageToPlayer );
ADD_METHOD( CurrentOptionsDisqualifyPlayer );
ADD_METHOD( ResetPlayerOptions );
ADD_METHOD( RefreshNoteSkinData );
ADD_METHOD( Dopefish );
}
};