From 2f57a6cb78d2c4296f8a1797a1a97ce081b031c4 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 20 Jul 2012 23:51:28 -0500 Subject: [PATCH] actually get this to compile. --- src/ActorUtil.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ActorUtil.cpp b/src/ActorUtil.cpp index 6105d9881f..cc44b0b6ea 100644 --- a/src/ActorUtil.cpp +++ b/src/ActorUtil.cpp @@ -442,6 +442,18 @@ namespace lua_pushboolean( L, IsRegistered(SArg(1)) ); return 1; } + static int LoadAllCommands( lua_State *L ) + { + Actor *p = Luna::check( L, 1 ); + ActorUtil::LoadAllCommands( p, SArg(2) ); + return 0; + } + static int LoadAllCommandsFromName( lua_State *L ) + { + Actor *p = Luna::check( L, 1 ); + ActorUtil::LoadAllCommandsFromName( *p, SArg(2), SArg(3) ); + return 0; + } static int LoadAllCommandsAndSetXY( lua_State *L ) { Actor *p = Luna::check( L, 1 );