From ed5491f57acd7b41d4aba08659daac94737ffdf2 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 4 May 2005 09:58:59 +0000 Subject: [PATCH] add Lua method --- stepmania/src/Actor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index c5b79b75b8..d686c964e2 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -595,6 +595,7 @@ public: static int GetZoom( T* p, lua_State *L ) { lua_pushnumber( L, p->GetZoom() ); return 1; } static int GetZoomX( T* p, lua_State *L ) { lua_pushnumber( L, p->GetZoomX() ); return 1; } static int GetZoomY( T* p, lua_State *L ) { lua_pushnumber( L, p->GetZoomY() ); return 1; } + static int GetZoomZ( T* p, lua_State *L ) { lua_pushnumber( L, p->GetZoomZ() ); return 1; } static int GetBaseZoomX( T* p, lua_State *L ) { lua_pushnumber( L, p->GetBaseZoomX() ); return 1; } static int GetSecsIntoEffect( T* p, lua_State *L ) { lua_pushnumber( L, p->GetSecsIntoEffect() ); return 1; } static int GetEffectDelta( T* p, lua_State *L ) { lua_pushnumber( L, p->GetEffectDelta() ); return 1; } @@ -712,6 +713,7 @@ public: ADD_METHOD( GetZoom ) ADD_METHOD( GetZoomX ) ADD_METHOD( GetZoomY ) + ADD_METHOD( GetZoomZ ) ADD_METHOD( GetBaseZoomX ) ADD_METHOD( GetSecsIntoEffect ) ADD_METHOD( GetEffectDelta )