--ExportLuaInformation. Add a stylesheet. (Not finished yet.)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
namespace ExportStrings
|
||||
{
|
||||
void Nsis();
|
||||
void LuaFunctions();
|
||||
void LuaInformation();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user