[PlayerState] Added GetSuperMeterLevel() Lua binding.
This commit is contained in:
@@ -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
|
||||
----------
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user