[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
IsEasierForCourseAndTrail(Course, Trail) Lua bindings. [AJ]
* [PlayerState] Added GetSuperMeterLevel() Lua binding. [AJ]
2011/11/28
----------
+2
View File
@@ -257,6 +257,7 @@ public:
return 1;
}
DEFINE_METHOD( GetHealthState, m_HealthState );
DEFINE_METHOD( GetSuperMeterLevel, m_fSuperMeter );
LunaPlayerState()
{
@@ -269,6 +270,7 @@ public:
ADD_METHOD( GetCurrentPlayerOptions );
ADD_METHOD( GetSongPosition );
ADD_METHOD( GetHealthState );
ADD_METHOD( GetSuperMeterLevel );
}
};
+2 -2
View File
@@ -53,10 +53,10 @@ public:
// Music statistics:
SongPosition m_Position;
const SongPosition &GetDisplayedPosition() const;
const TimingData &GetDisplayedTiming() const;
/**
* @brief Holds a vector sorted by real beat, the beat that would be displayed
* in the NoteField (because they are affected by scroll segments), and