Added Guest and Test profile types, and profile priorities so the position of a profile in the list can be controlled. Fixes crash bug that occurs when a profile dir is renamed to a non-number and a new profile is made.
This commit is contained in:
@@ -4,6 +4,18 @@ 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/11/28
|
||||
----------
|
||||
* [Profile] Guest and Test profile types added. All existing and new
|
||||
profiles are Normal. If a profile is changed to Guest through the profile
|
||||
management screen, it will always show at the top of the list. A profile
|
||||
set to Test will always be at the bottom of the list. Profiles can be
|
||||
moved around in the list.
|
||||
GetType and GetPriority lua functions added to Profile.
|
||||
Bug that caused a crash when a profile dir was renamed to a non-number and
|
||||
a new profile was created fixed. [kyzentun]
|
||||
|
||||
2014/11/15
|
||||
----------
|
||||
* [Preferences] Default Fail Type preference mechanism changed internally again.
|
||||
|
||||
@@ -1200,6 +1200,7 @@
|
||||
<Function name='GetMostPopularSong'/>
|
||||
<Function name='GetNumToasties'/>
|
||||
<Function name='GetNumTotalSongsPlayed'/>
|
||||
<Function name='GetPriority'/>
|
||||
<Function name='GetSongNumTimesPlayed'/>
|
||||
<Function name='GetSongsActual'/>
|
||||
<Function name='GetSongsAndCoursesPercentCompleteAllDifficulties'/>
|
||||
@@ -1219,6 +1220,7 @@
|
||||
<Function name='GetTotalStepsWithTopGrade'/>
|
||||
<Function name='GetTotalTapsAndHolds'/>
|
||||
<Function name='GetTotalTrailsWithTopGrade'/>
|
||||
<Function name='GetType'/>
|
||||
<Function name='GetUserTable'/>
|
||||
<Function name='GetVoomax'/>
|
||||
<Function name='GetWeightPounds'/>
|
||||
@@ -2270,6 +2272,11 @@
|
||||
<EnumValue name=''ProfileSlot_Player2'' value='1'/>
|
||||
<EnumValue name=''ProfileSlot_Machine'' value='2'/>
|
||||
</Enum>
|
||||
<Enum name='ProfileType'>
|
||||
<EnumValue name=''ProfileType_Guest'' value='0'/>
|
||||
<EnumValue name=''ProfileType_Normal'' value='1'/>
|
||||
<EnumValue name=''ProfileType_Test'' value='2'/>
|
||||
</Enum>
|
||||
<Enum name='RadarCategory'>
|
||||
<EnumValue name=''RadarCategory_Stream'' value='0'/>
|
||||
<EnumValue name=''RadarCategory_Voltage'' value='1'/>
|
||||
|
||||
@@ -3462,6 +3462,9 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetNumTotalSongsPlayed' return='int' arguments=''>
|
||||
Returns the total number of songs played with the profile.
|
||||
</Function>
|
||||
<Function name='GetPriority' return='int' arguments=''>
|
||||
Returns the position the profile should have in its category in the list.
|
||||
</Function>
|
||||
<Function name='GetSongNumTimesPlayed' return='int' arguments='Song s'>
|
||||
Returns the number of times song <code>s</code> has been played with the profile.
|
||||
</Function>
|
||||
@@ -3510,6 +3513,9 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetTotalTrailsWithTopGrade' return='int' arguments='StepsType st, Difficulty d, Grade g'>
|
||||
Returns the number of trails with the specified StepsType and Difficulty that you've scored a certain Grade <code>g</code> on.
|
||||
</Function>
|
||||
<Function name='GetType' return='ProfileType' arguments=''>
|
||||
Returns the type of the profile. The type of the profile is only used to determine where the profile shows up in the list of profiles, and that problem is already handled by ProfileManager, so if you're reading this, this function only exists so you can make your theme color this profile's list entry based on the type or something like that.
|
||||
</Function>
|
||||
<Function name='GetUserTable' return='table' arguments=''>
|
||||
Returns the user table for this Profile.
|
||||
</Function>
|
||||
|
||||
Reference in New Issue
Block a user