Rename ExportNsisStrings.* to ExportStrings.* and add a function (and a command line option) to produce an XML file containing information about lua.

This commit is contained in:
Steve Checkoway
2006-08-08 07:47:16 +00:00
parent 6d653c7047
commit 87e4f8b49f
4 changed files with 41 additions and 28 deletions
+5 -6
View File
@@ -38,7 +38,7 @@
#include "RageSurface_Load.h"
#include "arch/arch.h"
#include "CatalogXml.h"
#include "ExportNsisStrings.h"
#include "ExportStrings.h"
//
// StepMania global classes
@@ -1115,15 +1115,14 @@ int main(int argc, char* argv[])
NSMAN->DisplayStartupStatus(); // If we're using networking show what happened
/* Run the main loop. */
#if defined(WIN32)
if( GetCommandlineArgument("ExportNsisStrings") )
// XXX Nullsoft Scriptable Installation System?
ExportNsisStrings::Do();
ExportStrings::Nsis();
else if( GetCommandlineArgument("ExportLuaFunctions") )
ExportStrings::LuaFunctions();
else
GameLoop::RunGameLoop();
#else
GameLoop::RunGameLoop();
#endif
/* If we ended mid-game, finish up. */
GAMESTATE->EndGame();