mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-25 02:00:54 +00:00
Changed: Use CCmdArgs for sheets_packer, see #281
This commit is contained in:
parent
e1bb4da09c
commit
c3d77b630c
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