mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-19 23:48:44 +00:00
Changed: Use CCmdArgs for sheets_packer, see #281
--HG-- branch : develop
This commit is contained in:
parent
130b270380
commit
33dfd39409
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -31,6 +31,10 @@
|
|||
#include <nel/misc/bit_mem_stream.h>
|
||||
#include <nel/misc/mem_stream.h>
|
||||
#include <nel/misc/sheet_id.h>
|
||||
#include <nel/misc/debug.h>
|
||||
#include <nel/misc/cmd_args.h>
|
||||
#include <nel/ligo/ligo_config.h>
|
||||
#include <nel/ligo/primitive_utils.h>
|
||||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
#define NOMINMAX
|
||||
|
|
Loading…
Reference in a new issue