From 5a63fb3cd3b2cfbb2097635a0cfceddbfbe14e64 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 26 Feb 2005 20:44:16 +0000 Subject: [PATCH] add GetMeter --- stepmania/src/Steps.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Steps.cpp b/stepmania/src/Steps.cpp index 3ab7f6037f..305fe24ce8 100644 --- a/stepmania/src/Steps.cpp +++ b/stepmania/src/Steps.cpp @@ -339,12 +339,14 @@ public: static int GetStepsType( T* p, lua_State *L ) { lua_pushnumber(L, p->m_StepsType ); return 1; } static int GetDifficulty( T* p, lua_State *L ) { lua_pushnumber(L, p->GetDifficulty() ); return 1; } static int GetDescription( T* p, lua_State *L ) { lua_pushstring(L, p->GetDescription() ); return 1; } + static int GetMeter( T* p, lua_State *L ) { lua_pushnumber(L, p->GetMeter() ); return 1; } static void Register(lua_State *L) { ADD_METHOD( GetStepsType ) ADD_METHOD( GetDifficulty ) ADD_METHOD( GetDescription ) + ADD_METHOD( GetMeter ) Luna::Register( L ); } };