kill GetOSName lua binding since GetArchName is better

This commit is contained in:
AJ Kelly
2011-12-27 11:21:31 -06:00
parent e3f2acb5cf
commit 1aee8afe87
2 changed files with 2 additions and 17 deletions
+2 -1
View File
@@ -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
----------
* [MusicWheel] Add IsRouletting Lua binding. [AJ]
* [WheelBase] Add GetNumWheelItems Lua binding. [AJ]
* [LuaManager] Remove GetOSName Lua binding; use GetArchName instead. [AJ]
2011/12/26
----------
-16
View File
@@ -971,22 +971,6 @@ extern const char *const version_time;
LuaFunction( VersionDate, (RString) version_date );
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 )
{
return SCALE( x, l1, h1, l2, h2 );