--ExportLuaInformation. Add a stylesheet. (Not finished yet.)

This commit is contained in:
Steve Checkoway
2006-08-08 10:25:19 +00:00
parent 790ccdbcbe
commit 2654587e16
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -42,11 +42,13 @@ void ExportStrings::Nsis()
} }
} }
void ExportStrings::LuaFunctions() void ExportStrings::LuaInformation()
{ {
XNode *pNode = LUA->GetLuaInformation(); XNode *pNode = LUA->GetLuaInformation();
DISP_OPT disp; DISP_OPT disp;
disp.stylesheet = "Lua.xsl";
pNode->SaveToFile( "Lua.xml", disp ); pNode->SaveToFile( "Lua.xml", disp );
delete pNode; delete pNode;
} }
+1 -1
View File
@@ -4,7 +4,7 @@
namespace ExportStrings namespace ExportStrings
{ {
void Nsis(); void Nsis();
void LuaFunctions(); void LuaInformation();
} }
#endif #endif
+2 -2
View File
@@ -1119,8 +1119,8 @@ int main(int argc, char* argv[])
if( GetCommandlineArgument("ExportNsisStrings") ) if( GetCommandlineArgument("ExportNsisStrings") )
// XXX Nullsoft Scriptable Installation System? // XXX Nullsoft Scriptable Installation System?
ExportStrings::Nsis(); ExportStrings::Nsis();
else if( GetCommandlineArgument("ExportLuaFunctions") ) else if( GetCommandlineArgument("ExportLuaInformation") )
ExportStrings::LuaFunctions(); ExportStrings::LuaInformation();
else else
GameLoop::RunGameLoop(); GameLoop::RunGameLoop();