GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArgumentsParser.hpp
Go to the documentation of this file.
1 #ifndef RADIX_ARGUMENTS_PARSER_HPP
2 #define RADIX_ARGUMENTS_PARSER_HPP
3 
4 #include <string>
5 #include <radix/env/Config.hpp>
6 
7 namespace radix {
8 
10 private:
11  static std::string mapName;
12  static std::string mapPath;
13  static bool showCursor;
14  static bool ignoreGlVersion;
15  static bool debugMode;
16 public:
17  static void showUsage(char **argv);
18  static void setEnvironmentFromArgs(const int argc, char **argv);
19  static void populateConfig(radix::Config &config);
20 };
21 
22 } /* namespace radix */
23 
24 #endif /* RADIX_ARGUMENTS_PARSER_HPP */
static void setEnvironmentFromArgs(const int argc, char **argv)
Definition: ArgumentsParser.cpp:34
Definition: GameController.hpp:7
Configuration class.
Definition: Config.hpp:19
static void populateConfig(radix::Config &config)
Definition: ArgumentsParser.cpp:112
static bool ignoreGlVersion
Definition: ArgumentsParser.hpp:14
static std::string mapPath
Definition: ArgumentsParser.hpp:12
Definition: ArgumentsParser.hpp:9
static std::string mapName
Definition: ArgumentsParser.hpp:11
static bool debugMode
Definition: ArgumentsParser.hpp:15
static void showUsage(char **argv)
Definition: ArgumentsParser.cpp:20
static bool showCursor
Definition: ArgumentsParser.hpp:13