From 89b435ef51f8d6517f9be80c8336d35ef5f155bd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Oct 2006 20:35:32 +0000 Subject: [PATCH] LuaManager::GetLuaInformation -> LuaHelpers::GetLuaInformation --- stepmania/src/ExportStrings.cpp | 2 +- stepmania/src/LuaManager.cpp | 2 +- stepmania/src/LuaManager.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ExportStrings.cpp b/stepmania/src/ExportStrings.cpp index 0c083fa9ed..8cf73e5b31 100644 --- a/stepmania/src/ExportStrings.cpp +++ b/stepmania/src/ExportStrings.cpp @@ -47,7 +47,7 @@ void ExportStrings::Nsis() void ExportStrings::LuaInformation() { - XNode *pNode = LUA->GetLuaInformation(); + XNode *pNode = LuaHelpers::GetLuaInformation(); pNode->AppendAttr( "xmlns", "http://www.stepmania.com" ); pNode->AppendAttr( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance" ); pNode->AppendAttr( "xsi:schemaLocation", "http://www.stepmania.com Lua.xsd" ); diff --git a/stepmania/src/LuaManager.cpp b/stepmania/src/LuaManager.cpp index df9c4d7516..f8e7646f28 100644 --- a/stepmania/src/LuaManager.cpp +++ b/stepmania/src/LuaManager.cpp @@ -233,7 +233,7 @@ namespace }; } -XNode *LuaManager::GetLuaInformation() const +XNode *LuaHelpers::GetLuaInformation() { Lua *L = LUA->Get(); diff --git a/stepmania/src/LuaManager.h b/stepmania/src/LuaManager.h index f1d8b102d7..59f3d84665 100644 --- a/stepmania/src/LuaManager.h +++ b/stepmania/src/LuaManager.h @@ -77,6 +77,8 @@ namespace LuaHelpers void ParseCommandList( lua_State *L, const RString &sCommands, const RString &sName ); + XNode *GetLuaInformation(); + /* Pops the last iArgs arguments from the stack, and return a function that returns * those values. */ void PushValueFunc( lua_State *L, int iArgs );