![]() |
Survival Royale 1.0.0
A very simple yet funny card game.
|
Definition of functions which handles CLI. More...
Go to the source code of this file.
Macros | |
#define | _CLI_H_ |
Include guard. |
Functions | |
void | getHelp (const char *scope) |
Prints the generic help message or a detailed help message describing a particular option. | |
int | handleCLIArguments (char **argv, const int argc) |
It validates and intreprets the CLI options. | |
GameConfiguration | getConfigurationFromArguments (char **argv, const int argc) |
Generates a game configuration from the given options. If some options are not specified, the default game configuration values for that option are used. |
Definition of functions which handles CLI.
Definition in file cli.h.
GameConfiguration getConfigurationFromArguments | ( | char ** | argv, |
const int | argc ) |
void getHelp | ( | const char * | scope | ) |
int handleCLIArguments | ( | char ** | argv, |
const int | argc ) |
It validates and intreprets the CLI options.
argv | The CLI options vector. |
argc | The length of argv. |