OpenEnroth 73e68f7
|
#include <OpenEnrothOptions.h>
Classes | |
struct | PlayOptions |
struct | RetraceOptions |
Public Types | |
enum class | Subcommand { SUBCOMMAND_GAME , SUBCOMMAND_PLAY , SUBCOMMAND_RETRACE } |
Static Public Member Functions | |
static OpenEnrothOptions | parse (int argc, char **argv) |
Public Attributes | |
Subcommand | subcommand = SUBCOMMAND_GAME |
bool | helpPrinted = false |
RetraceOptions | retrace |
PlayOptions | play |
Public Attributes inherited from GameStarterOptions | |
std::string | dataPath |
std::string | userPath |
std::optional< LogLevel > | logLevel |
bool | ramFsUserData = false |
bool | headless = false |
bool | tracingRng = false |
|
strong |
|
static |
Parses OpenEnroth command line options.
argc | argc as passed to main. |
argv | argv as passed to main. |
std::exception | On errors. |
bool OpenEnrothOptions::helpPrinted = false |
PlayOptions OpenEnrothOptions::play |
RetraceOptions OpenEnrothOptions::retrace |
Subcommand OpenEnrothOptions::subcommand = SUBCOMMAND_GAME |