add GetSongBeat

This commit is contained in:
Glenn Maynard
2005-04-30 03:03:57 +00:00
parent 42ecd221b7
commit 6e4eb423f8
+2
View File
@@ -1998,6 +1998,7 @@ public:
static int GetEasiestStepsDifficulty( T* p, lua_State *L ){ lua_pushnumber(L, p->GetEasiestStepsDifficulty() ); return 1; }
static int IsEventMode( T* p, lua_State *L ) { lua_pushboolean(L, p->IsEventMode() ); return 1; }
static int GetNumPlayersEnabled( T* p, lua_State *L ) { lua_pushnumber(L, p->GetNumPlayersEnabled() ); return 1; }
static int GetSongBeat( T* p, lua_State *L ) { lua_pushnumber(L, p->m_fSongBeat ); return 1; }
static void Register(lua_State *L)
{
@@ -2031,6 +2032,7 @@ public:
ADD_METHOD( GetEasiestStepsDifficulty )
ADD_METHOD( IsEventMode )
ADD_METHOD( GetNumPlayersEnabled )
ADD_METHOD( GetSongBeat )
Luna<T>::Register( L );