Added PlayerOptions:FromString.

This commit is contained in:
Kyzentun Keeslala
2016-09-16 18:02:08 -06:00
parent 3d98fc7a60
commit 7ca46bb93a
2 changed files with 22 additions and 0 deletions
+14
View File
@@ -4,6 +4,20 @@ 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.
________________________________________________________________________________
2016/09/16
----------
* [PlayerOptions] Added FromString function for applying a mod string the way
ApplyLameCommand does in oitg. [kyzentun]
================================================================================
StepMania 5.0.12 | 20160905
--------------------------------------------------------------------------------
2016/08/28
----------
* [Gameplay] Added oitg_zoom_mode_actor() for compatibility with oitg's
SetZoom bug. [kyzentun]
2016/06/28
----------
* [Gameplay] Moved pause menu logic to a script in _fallback. Added
+8
View File
@@ -1456,6 +1456,12 @@ public:
return 1;
}
static int FromString(T* p, lua_State* L)
{
p->FromString(SArg(1));
COMMON_RETURN_SELF;
}
LunaPlayerOptions()
{
ADD_METHOD( IsEasierForSongAndSteps );
@@ -1560,6 +1566,8 @@ public:
ADD_METHOD( UsingReverse );
ADD_METHOD( GetReversePercentForColumn );
ADD_METHOD( GetStepAttacks );
ADD_METHOD(FromString);
}
};