[PlayerState] Added GetSuperMeterLevel() Lua binding.

This commit is contained in:
AJ Kelly
2011-11-30 00:44:27 -06:00
parent a49044501e
commit f1e412e961
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ StepMania 5.0 $next | 20111xxx
---------- ----------
* [PlayerOptions] Added IsEasierForSongAndSteps(Song,Steps,PlayerNumber) and * [PlayerOptions] Added IsEasierForSongAndSteps(Song,Steps,PlayerNumber) and
IsEasierForCourseAndTrail(Course, Trail) Lua bindings. [AJ] IsEasierForCourseAndTrail(Course, Trail) Lua bindings. [AJ]
* [PlayerState] Added GetSuperMeterLevel() Lua binding. [AJ]
2011/11/28 2011/11/28
---------- ----------
+2
View File
@@ -257,6 +257,7 @@ public:
return 1; return 1;
} }
DEFINE_METHOD( GetHealthState, m_HealthState ); DEFINE_METHOD( GetHealthState, m_HealthState );
DEFINE_METHOD( GetSuperMeterLevel, m_fSuperMeter );
LunaPlayerState() LunaPlayerState()
{ {
@@ -269,6 +270,7 @@ public:
ADD_METHOD( GetCurrentPlayerOptions ); ADD_METHOD( GetCurrentPlayerOptions );
ADD_METHOD( GetSongPosition ); ADD_METHOD( GetSongPosition );
ADD_METHOD( GetHealthState ); ADD_METHOD( GetHealthState );
ADD_METHOD( GetSuperMeterLevel );
} }
}; };