diff --git a/code/ryzom/tools/sheets_packer/sheets_packer.cpp b/code/ryzom/tools/sheets_packer/sheets_packer.cpp index 9b6eef725..ce4467137 100644 --- a/code/ryzom/tools/sheets_packer/sheets_packer.cpp +++ b/code/ryzom/tools/sheets_packer/sheets_packer.cpp @@ -57,6 +57,17 @@ static uint32 Version = 1; // Client Version. //--------------------------------------------------- int main(int argc, char **argv) { + CApplicationContext applicationContext; + + // Parse Command Line. + NLMISC::CCmdArgs args; + + args.setDescription("Pack all sheets needed by client. All parameters must be defined in sheets_packer.cfg and there is no parameters from command-line."); + + if (!args.parse(argc, argv)) return 1; + + CFileDisplayer *fd = NULL; + ///////////////////////////////// // Initialize the application. // try diff --git a/code/ryzom/tools/sheets_packer/stdpch.h b/code/ryzom/tools/sheets_packer/stdpch.h index df8f1370f..a8f68441a 100644 --- a/code/ryzom/tools/sheets_packer/stdpch.h +++ b/code/ryzom/tools/sheets_packer/stdpch.h @@ -31,6 +31,10 @@ #include #include #include +#include +#include +#include +#include #ifdef NL_OS_WINDOWS #define NOMINMAX