Add mixed case version that's used in a few places. Phase out the lowercase version eventually.

This commit is contained in:
Chris Danford
2005-08-29 02:03:17 +00:00
parent ef7b9c2235
commit 0139231be6
+2
View File
@@ -243,6 +243,7 @@ public:
LunaFadingBanner() { LUA->Register( Register ); }
static int scaletoclipped( T* p, lua_State *L ) { p->ScaleToClipped(FArg(1),FArg(2)); return 0; }
static int ScaleToClipped( T* p, lua_State *L ) { p->ScaleToClipped(FArg(1),FArg(2)); return 0; }
static int LoadFromSong( T* p, lua_State *L )
{
if( lua_isnil(L,1) ) { p->LoadFromSong( NULL ); }
@@ -271,6 +272,7 @@ public:
static void Register(lua_State *L)
{
ADD_METHOD( scaletoclipped )
ADD_METHOD( ScaleToClipped )
ADD_METHOD( LoadFromSong )
ADD_METHOD( LoadFromCourse )
ADD_METHOD( LoadIconFromCharacter )