[Character] add GetCharacterDir() and GetCharacterID() Lua bindings.

This commit is contained in:
AJ Kelly
2010-06-01 14:27:21 -05:00
parent 8f7a047902
commit ee9930db32
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ _____________________________________________________________________________
* [MusicWheel] added UseSectionsWithPreferredGroup metric
(allows sm-ssc to display all song groups if you use the songgroup
GameCommand, instead of no groups.)
* [Character] add GetCharacterDir() and GetCharacterID() Lua bindings.
================================================================================
sm-ssc v1.0 Public Beta 4 | 20100531
+4
View File
@@ -212,6 +212,8 @@ public:
static int GetRestAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetRestAnimationPath() ); return 1; }
static int GetWarmUpAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetWarmUpAnimationPath() ); return 1; }
static int GetDanceAnimationPath( T* p, lua_State *L ) { lua_pushstring(L, p->GetDanceAnimationPath() ); return 1; }
static int GetCharacterDir( T* p, lua_State *L ) { lua_pushstring(L, p->m_sCharDir ); return 1; }
static int GetCharacterID( T* p, lua_State *L ) { lua_pushstring(L, p->m_sCharacterID ); return 1; }
LunaCharacter()
{
@@ -224,6 +226,8 @@ public:
ADD_METHOD( GetRestAnimationPath );
ADD_METHOD( GetWarmUpAnimationPath );
ADD_METHOD( GetDanceAnimationPath );
ADD_METHOD( GetCharacterDir );
ADD_METHOD( GetCharacterID );
}
};