--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();
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
namespace ExportStrings
|
namespace ExportStrings
|
||||||
{
|
{
|
||||||
void Nsis();
|
void Nsis();
|
||||||
void LuaFunctions();
|
void LuaInformation();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user