#include <external/RadixEngine/include/radix/env/ArgumentsParser.hpp>
void radix::ArgumentsParser::populateConfig |
( |
radix::Config & |
config | ) |
|
|
static |
void radix::ArgumentsParser::setEnvironmentFromArgs |
( |
const int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Command Line arguments
- version
Display the current version.
- datadir
Set directory where the game data is stored.
- help
Display the help.
- map
Set the map that should be loaded.
- mapFromPath
Set the map that should be loaded.
- showCursor
Forces os mouse cursor to be drawn Defaults to false;
getopt error handling getopt has already shown an error message.
- ignoreGlVersion
Disable OpenGl version check
- debugMode
Run game in debug mode
void radix::ArgumentsParser::showUsage |
( |
char ** |
argv | ) |
|
|
static |
bool radix::ArgumentsParser::debugMode = false |
|
staticprivate |
bool radix::ArgumentsParser::ignoreGlVersion = false |
|
staticprivate |
std::string radix::ArgumentsParser::mapName = "" |
|
staticprivate |
std::string radix::ArgumentsParser::mapPath = "" |
|
staticprivate |
bool radix::ArgumentsParser::showCursor = false |
|
staticprivate |
The documentation for this class was generated from the following files: