Fixed conflicts to merge kickbox in.
This commit is contained in:
@@ -4,6 +4,32 @@ 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.
|
||||
________________________________________________________________________________
|
||||
|
||||
2015/01/20
|
||||
----------
|
||||
* [ScreenSelect] ChoiceNames can be a lua command that is evaluated to get a
|
||||
list of the gamecommands. The main use of this is to get rid of the huge
|
||||
list of metrics that ScreenSelectStyle requires. A single lua function
|
||||
instead of a metric for every style for every game type. [kyzentun]
|
||||
* [ScreenSelectMaster] IconChoicePosFunction metric added. This metric is
|
||||
optional, if it's set, it must be set to a function that returns a table
|
||||
of positions. Each position is a table of the form "{x, y, z}", where x,
|
||||
y, and z are numbers and any that is not a number defaults to 0.
|
||||
The function is passed the number of choices for the screen.
|
||||
IconChoiceOnCommand and IconChoiceOffCommand metrics added so each choice
|
||||
doesn't require its own On/OffCommand pair. These are also optional, but
|
||||
if they are set, they will override the individual commands if they exist.
|
||||
(If "IconChoiceCactusOnCommand" and "IconChoiceOnCommand" both exist,
|
||||
"IconChoiceOnCommand" will be used.) [kyzentun]
|
||||
Example:
|
||||
# in metrics.ini
|
||||
IconChoicePosFunction=choice_positions
|
||||
-- In a file in Scripts/
|
||||
function choice_positions(count)
|
||||
local ret= {}
|
||||
for i= 1, ret do ret[i]= {i*24, i*48} end
|
||||
return ret
|
||||
end
|
||||
|
||||
2015/01/16
|
||||
----------
|
||||
* [ScreenSelectMusic] HardCommentMeter metric added. Sets the meter that
|
||||
@@ -59,6 +85,34 @@ ________________________________________________________________________________
|
||||
* [Player] "ComboBreakOnImmediateHoldLetGo" theme metric added. [sillybear]
|
||||
* [PlayerState] ApplyPreferredOptionsToOtherLevels function added. [kyzentun]
|
||||
|
||||
2014/12/07
|
||||
----------
|
||||
* [Game] GetSeparateStyles function added. Use this to detect whether a game
|
||||
allows the players to play different styles. [kyzentun] (used by kickbox)
|
||||
* [GameManager] Lua Scripts/ folders are now reloaded when the Game mode is
|
||||
changed. [kyzentun]
|
||||
* [GameState] CanSafelyEnterGameplay function added. [kyzentun]
|
||||
In kickbox game mode, players can have different styles set, pass a
|
||||
PlayerNumber when using SetCurrentStyle or GetCurrentStyle.
|
||||
* [kickbox] New game mode with 4 styles. [kyzentun]
|
||||
* [ScreenGameplay] Notefield positioning is handled a bit differently now.
|
||||
See comments in _fallback/metrics.ini above the [ScreenGameplay]
|
||||
MarginFunction metric. Basically, you can define a lua function that
|
||||
returns the space you want at the edges and in the center instead of
|
||||
setting position metrics. Do NOT use Style:GetWidth to calculate the
|
||||
margins your function returns.
|
||||
ScreenGameplay now handles zooming the notefield to fit in the space
|
||||
instead of using the NeedsZoomOutWith2Players flag in the style.
|
||||
If the notefield doesn't fit in the space between the margins, and there is
|
||||
only one player, the player will be centered even if the Center1Player pref
|
||||
is false. [kyzentun]
|
||||
* [Style] NeedsZoomOutWith2Players decapitated. Always returns false now.
|
||||
GetWidth added. [kyzentun]
|
||||
* [techno] Techno game mode no longer has special column width for versus.
|
||||
Techno was the only game mode that used the NeedsZoomOutWith2Players flag,
|
||||
and the zoom factor it applied was 0.6, and the special versus column width
|
||||
was 0.6*normal, so this should make no difference. [kyzentun]
|
||||
|
||||
2014/12/03
|
||||
----------
|
||||
* [command line arg] --game command line arg added for setting the game type
|
||||
@@ -112,6 +166,10 @@ ________________________________________________________________________________
|
||||
----------
|
||||
* [RollingNumbers] Cropping and color during tweens fixed. [kyzentun]
|
||||
|
||||
2014/10/27
|
||||
----------
|
||||
* [Changelog] Vospi read the release notes.
|
||||
|
||||
2014/10/23
|
||||
----------
|
||||
* [Global] approach, multiapproach, lerp, and lerp_color lua functions added. [kyzentun]
|
||||
|
||||
@@ -731,6 +731,7 @@
|
||||
<Function name='CountNotesSeparately'/>
|
||||
<Function name='GetMapJudgmentTo'/>
|
||||
<Function name='GetName'/>
|
||||
<Function name='GetSeparateStyles'/>
|
||||
</Class>
|
||||
<Class name='GameCommand'>
|
||||
<Function name='GetAnnouncer'/>
|
||||
@@ -779,6 +780,7 @@
|
||||
<Function name='ApplyPreferredModifiers'/>
|
||||
<Function name='ApplyPreferredSongOptionsToOtherLevels'/>
|
||||
<Function name='ApplyStageModifiers'/>
|
||||
<Function name='CanSafelyEnterGameplay'/>
|
||||
<Function name='ClearStageModifiersIllegalForCourse'/>
|
||||
<Function name='CurrentOptionsDisqualifyPlayer'/>
|
||||
<Function name='Dopefish'/>
|
||||
@@ -1708,6 +1710,7 @@
|
||||
<Function name='GetName'/>
|
||||
<Function name='GetStepsType'/>
|
||||
<Function name='GetStyleType'/>
|
||||
<Function name='GetWidth'/>
|
||||
<Function name='LockedDifficulty'/>
|
||||
<Function name='NeedsZoomOutWith2Players'/>
|
||||
</Class>
|
||||
|
||||
@@ -2242,6 +2242,9 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetName' return='string' arguments=''>
|
||||
Returns the name of the game such as "dance" or "pump".
|
||||
</Function>
|
||||
<Function name='GetSeparateStyles' return='bool' arguments=''>
|
||||
Returns whether this game allows the players to have separate styles.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='GameCommand'>
|
||||
<Function name='GetAnnouncer' return='string' arguments=''>
|
||||
@@ -2381,6 +2384,16 @@ save yourself some time, copy this for undocumented things:
|
||||
The second argument is optional. Apply the GameCommand represented by <code>sCommand</code>
|
||||
for <code>pn</code>, if given. See <Link class='GameCommand' />.
|
||||
</Function>
|
||||
<Function name='CanSafelyEnterGameplay' return='bool,string' arguments=''>
|
||||
Checks various things to determine whether the game will crash when gameplay starts. Returns false and a string if gameplay cannot be entered safely.<br />
|
||||
Might not work in all cases, but will catch things like a player not having
|
||||
steps set or no current song or style. Mainly exists for people with a custom ScreenSelectMusic replacement.<br />
|
||||
Example:<br />
|
||||
local can, reason= GAMESTATE:CanSafelyEnterGameplay()<br />
|
||||
if not can then<br />
|
||||
lua.ReportScriptError("Cannot safely enter gameplay: " .. tostring(reason))<br />
|
||||
end<br />
|
||||
</Function>
|
||||
<Function name='ClearStageModifiersIllegalForCourse' return='void' arguments=''>
|
||||
Removes any stage modifiers that are illegal for course play.
|
||||
</Function>
|
||||
@@ -4909,11 +4922,14 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='GetColumnDrawOrder' return='int' arguments='int column'>
|
||||
Returns the draw order of the column.
|
||||
</Function>
|
||||
<Function name='GetWidth' return='float' arguments='PlayerNumber pn'>
|
||||
Returns the width of the notefield for the given player with this style.
|
||||
</Function>
|
||||
<Function name='LockedDifficulty' return='bool' arguments=''>
|
||||
Returns <code>true</code> if this style locks the difficulty for both players.
|
||||
</Function>
|
||||
<Function name='NeedsZoomOutWith2Players' return='bool' arguments=''>
|
||||
Returns <code>true</code> if the Style needs to be zoomed out with two players.
|
||||
Deprecated. Always returns false.
|
||||
</Function>
|
||||
</Class>
|
||||
<Class name='TapNote'>
|
||||
|
||||
Reference in New Issue
Block a user