kill GetOSName lua binding since GetArchName is better
This commit is contained in:
@@ -5,13 +5,14 @@ from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
|||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
StepMania 5.0 $next | 20111xxx
|
StepMania 5.0 alpha 1 | 201112xx
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
2011/12/27
|
2011/12/27
|
||||||
----------
|
----------
|
||||||
* [MusicWheel] Add IsRouletting Lua binding. [AJ]
|
* [MusicWheel] Add IsRouletting Lua binding. [AJ]
|
||||||
* [WheelBase] Add GetNumWheelItems Lua binding. [AJ]
|
* [WheelBase] Add GetNumWheelItems Lua binding. [AJ]
|
||||||
|
* [LuaManager] Remove GetOSName Lua binding; use GetArchName instead. [AJ]
|
||||||
|
|
||||||
2011/12/26
|
2011/12/26
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -971,22 +971,6 @@ extern const char *const version_time;
|
|||||||
LuaFunction( VersionDate, (RString) version_date );
|
LuaFunction( VersionDate, (RString) version_date );
|
||||||
LuaFunction( VersionTime, (RString) version_time );
|
LuaFunction( VersionTime, (RString) version_time );
|
||||||
|
|
||||||
static RString GetOSName()
|
|
||||||
{
|
|
||||||
RString system;
|
|
||||||
#if defined(WIN32)
|
|
||||||
system = "Windows";
|
|
||||||
#elif defined(LINUX)
|
|
||||||
system = "Linux";
|
|
||||||
#elif defined(DARWIN)
|
|
||||||
system = "Mac";
|
|
||||||
#else
|
|
||||||
system = "Unknown";
|
|
||||||
#endif
|
|
||||||
return system;
|
|
||||||
}
|
|
||||||
LuaFunction( GetOSName, GetOSName() );
|
|
||||||
|
|
||||||
static float scale( float x, float l1, float h1, float l2, float h2 )
|
static float scale( float x, float l1, float h1, float l2, float h2 )
|
||||||
{
|
{
|
||||||
return SCALE( x, l1, h1, l2, h2 );
|
return SCALE( x, l1, h1, l2, h2 );
|
||||||
|
|||||||
Reference in New Issue
Block a user