--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();
DISP_OPT disp;
disp.stylesheet = "Lua.xsl";
pNode->SaveToFile( "Lua.xml", disp );
delete pNode;
}
+1 -1
View File
@@ -4,7 +4,7 @@
namespace ExportStrings
{
void Nsis();
void LuaFunctions();
void LuaInformation();
}
#endif
+2 -2
View File
@@ -1119,8 +1119,8 @@ int main(int argc, char* argv[])
if( GetCommandlineArgument("ExportNsisStrings") )
// XXX Nullsoft Scriptable Installation System?
ExportStrings::Nsis();
else if( GetCommandlineArgument("ExportLuaFunctions") )
ExportStrings::LuaFunctions();
else if( GetCommandlineArgument("ExportLuaInformation") )
ExportStrings::LuaInformation();
else
GameLoop::RunGameLoop();