![]() |
ManaPlus
|
#include <options.h>
Public Member Functions | |
| Options () | |
Data Fields | |
| std::string | username |
| std::string | password |
| std::string | character |
| std::string | brandingPath |
| std::string | updateHost |
| std::string | dataPath |
| std::string | homeDir |
| std::string | logFileName |
| std::string | chatLogDir |
| std::string | configDir |
| std::string | localDataDir |
| std::string | screenshotDir |
| std::string | test |
| std::string | serverName |
| std::string | serverType |
| int | renderer |
| uint16_t | serverPort |
| bool | printHelp |
| bool | printVersion |
| bool | skipUpdate |
| bool | chooseDefault |
| bool | noOpenGL |
| bool | safeMode |
| bool | testMode |
| bool | ipc |
| bool | hideCursor |
| bool | error |
| bool | validate |
A structure holding the values of various options that can be passed from the command line.
| std::string Options::brandingPath |
Definition at line 79 of file options.h.
Referenced by Client::gameInit(), Dirs::initRootDir(), Dirs::mountDataDir(), and parseOptions().
| std::string Options::character |
Definition at line 78 of file options.h.
Referenced by parseOptions().
| std::string Options::chatLogDir |
Definition at line 84 of file options.h.
Referenced by parseOptions().
| bool Options::chooseDefault |
Definition at line 96 of file options.h.
Referenced by parseOptions().
| std::string Options::configDir |
Definition at line 85 of file options.h.
Referenced by Dirs::initConfigDir(), Dirs::initRootDir(), and parseOptions().
| std::string Options::dataPath |
Definition at line 81 of file options.h.
Referenced by Client::gameExec(), Client::gameInit(), Client::loadData(), parseOptions(), Client::unloadData(), and Dirs::updateDataPath().
| bool Options::error |
Definition at line 102 of file options.h.
Referenced by parseOptions().
| bool Options::hideCursor |
Definition at line 101 of file options.h.
Referenced by parseOptions(), and Gui::setUseCustomCursor().
| bool Options::ipc |
Definition at line 100 of file options.h.
Referenced by parseOptions().
| std::string Options::localDataDir |
Definition at line 86 of file options.h.
Referenced by Dirs::initLocalDataDir(), Dirs::initRootDir(), and parseOptions().
| std::string Options::logFileName |
Definition at line 83 of file options.h.
Referenced by Client::gameInit(), and parseOptions().
| bool Options::noOpenGL |
Definition at line 97 of file options.h.
Referenced by GraphicsManager::createRenderers(), and parseOptions().
| std::string Options::password |
Definition at line 77 of file options.h.
Referenced by parseOptions(), and Client::stateConnectServer1().
| bool Options::printHelp |
Definition at line 93 of file options.h.
Referenced by parseOptions().
| bool Options::printVersion |
Definition at line 94 of file options.h.
Referenced by parseOptions().
| int Options::renderer |
Definition at line 91 of file options.h.
Referenced by GraphicsManager::createRenderers(), GraphicsManager::initGraphics(), parseOptions(), and GraphicsManager::updateTextureFormat().
| bool Options::safeMode |
Definition at line 98 of file options.h.
Referenced by Client::gameInit(), parseOptions(), and ConfigManager::storeSafeParameters().
| std::string Options::screenshotDir |
Definition at line 87 of file options.h.
Referenced by Dirs::initRootDir(), Dirs::initScreenshotDir(), and parseOptions().
| std::string Options::serverName |
Definition at line 89 of file options.h.
Referenced by parseOptions().
| uint16_t Options::serverPort |
Definition at line 92 of file options.h.
Referenced by parseOptions().
| std::string Options::serverType |
Definition at line 90 of file options.h.
Referenced by parseOptions().
| bool Options::skipUpdate |
Definition at line 95 of file options.h.
Referenced by Client::gameExec(), Client::loadData(), parseOptions(), Client::unloadData(), and Dirs::updateDataPath().
| std::string Options::test |
Definition at line 88 of file options.h.
Referenced by Client::gameInit(), ConfigManager::initConfiguration(), WindowManager::initTitle(), parseOptions(), and updateEnv().
| bool Options::testMode |
Definition at line 99 of file options.h.
Referenced by mainGui(), parseOptions(), and Client::~Client().
| std::string Options::updateHost |
Definition at line 80 of file options.h.
Referenced by parseOptions().
| std::string Options::username |
Definition at line 76 of file options.h.
Referenced by parseOptions(), and Client::stateConnectServer1().
| bool Options::validate |
Definition at line 103 of file options.h.
Referenced by parseOptions().