Added Profile:GetTotalDancePoints.
This commit is contained in:
@@ -4,6 +4,10 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||
________________________________________________________________________________
|
||||
|
||||
2014/12/18
|
||||
----------
|
||||
* [Profile] GetTotalDancePoints added. [kyzentun]
|
||||
|
||||
2014/12/10
|
||||
----------
|
||||
* [EditMode] Play whole song and play from current beat will now play until
|
||||
|
||||
@@ -1220,6 +1220,7 @@
|
||||
<Function name='GetSongsPercentComplete'/>
|
||||
<Function name='GetSongsPossible'/>
|
||||
<Function name='GetTotalCaloriesBurned'/>
|
||||
<Function name='GetTotalDancePoints'/>
|
||||
<Function name='GetTotalGameplaySeconds'/>
|
||||
<Function name='GetTotalHands'/>
|
||||
<Function name='GetTotalHolds'/>
|
||||
|
||||
@@ -3536,6 +3536,9 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetTotalCaloriesBurned' return='float' arguments=''>
|
||||
Return the total number of calories burned.
|
||||
</Function>
|
||||
<Function name='GetTotalDancePoints' return='int' arguments=''>
|
||||
Returns the number of dance points earned.
|
||||
</Function>
|
||||
<Function name='GetTotalHands' return='int' arguments=''>
|
||||
Returns the number of Hands stepped on.
|
||||
</Function>
|
||||
|
||||
@@ -2603,6 +2603,7 @@ public:
|
||||
static int GetTotalMines( T* p, lua_State *L ) { lua_pushnumber(L, p->m_iTotalMines ); return 1; }
|
||||
static int GetTotalHands( T* p, lua_State *L ) { lua_pushnumber(L, p->m_iTotalHands ); return 1; }
|
||||
static int GetTotalLifts( T* p, lua_State *L ) { lua_pushnumber(L, p->m_iTotalLifts ); return 1; }
|
||||
DEFINE_METHOD(GetTotalDancePoints, m_iTotalDancePoints);
|
||||
static int GetUserTable( T* p, lua_State *L ) { p->m_UserTable.PushSelf(L); return 1; }
|
||||
static int GetLastPlayedSong( T* p, lua_State *L )
|
||||
{
|
||||
@@ -2688,6 +2689,7 @@ public:
|
||||
ADD_METHOD( GetTotalMines );
|
||||
ADD_METHOD( GetTotalHands );
|
||||
ADD_METHOD( GetTotalLifts );
|
||||
ADD_METHOD( GetTotalDancePoints );
|
||||
ADD_METHOD( GetUserTable );
|
||||
ADD_METHOD( GetLastPlayedSong );
|
||||
ADD_METHOD( GetLastPlayedCourse );
|
||||
|
||||
Reference in New Issue
Block a user