From 62def4a5e636f1ce19c25b0765646e80fe39ee14 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 19 Aug 2006 05:04:17 +0000 Subject: [PATCH] bind GetEstimatedNumStages --- stepmania/src/Course.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index b91693a696..12f42e2df2 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -932,6 +932,7 @@ public: } static int GetGroupName( T* p, lua_State *L ) { lua_pushstring(L, p->m_sGroupName ); return 1; } static int IsAutogen( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bIsAutogen ); return 1; } + static int GetEstimatedNumStages( T* p, lua_State *L ) { lua_pushnumber(L, p->GetEstimatedNumStages() ); return 1; } static void Register(lua_State *L) { @@ -944,6 +945,7 @@ public: ADD_METHOD( GetAllTrails ); ADD_METHOD( GetGroupName ); ADD_METHOD( IsAutogen ); + ADD_METHOD( GetEstimatedNumStages ); Luna::Register( L ); }