Changeset 7357 for code/branches/doc/src/orxonox
- Timestamp:
- Sep 5, 2010, 6:50:17 PM (14 years ago)
- Location:
- code/branches/doc/src/orxonox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/orxonox/LevelManager.cc
r7335 r7357 42 42 namespace orxonox 43 43 { 44 //! @cmdarg45 44 SetCommandLineArgument(level, "").shortcut("l").information("Default level file (overrides LevelManager::defaultLevelName_ configValue)"); 46 45 -
code/branches/doc/src/orxonox/Main.cc
r7353 r7357 48 48 namespace orxonox 49 49 { 50 //! @cmdarg51 50 SetCommandLineSwitch(console).information("Start in console mode (text IO only)"); 52 //! @cmdarg53 51 SetCommandLineSwitch(server).information("Start in server mode"); 54 //! @cmdarg55 52 SetCommandLineSwitch(client).information("Start in client mode"); 56 //! @cmdarg57 53 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode"); 58 //! @cmdarg59 54 SetCommandLineSwitch(standalone).information("Start in standalone mode"); 60 //! @cmdarg61 55 SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode"); 62 56 63 //! @cmdarg 64 SetCommandLineSwitch(generateDoc) 57 SetCommandLineArgument(generateDoc, "") 65 58 .information("Generates a Doxygen file from things like SetConsoleCommand"); 66 //! @cmdarg67 SetCommandLineArgument(docFile, "Internal.dox")68 .information("Name of the doc file to be generated with --generateDoc");69 59 70 60 /** … … 76 66 Game* game = new Game(strCmdLine); 77 67 78 if (CommandLineParser::getValue("generateDoc").getBool()) 79 { 80 // Generate additional documentation written to ONE file 81 std::string filename; 82 CommandLineParser::getValue("docFile", &filename); 83 } 84 else 68 if (CommandLineParser::getValue("generateDoc").getString().empty()) 85 69 { 86 70 game->setStateHierarchy( … … 96 80 game->requestState("root"); 97 81 98 // Some development hacks (not really, but in the future, th iscalls won't make sense anymore)82 // Some development hacks (not really, but in the future, these calls won't make sense anymore) 99 83 if (CommandLineParser::getValue("standalone").getBool()) 100 84 Game::getInstance().requestStates("graphics, standalone, level"); -
code/branches/doc/src/orxonox/gamestates/GSClient.cc
r7335 r7357 40 40 DeclareGameState(GSClient, "client", false, false); 41 41 42 //! @cmdarg43 42 SetCommandLineArgument(dest, "127.0.0.1").information("Server hostname/IP (IP in the form of #.#.#.#)"); 44 43 -
code/branches/doc/src/orxonox/gamestates/GSServer.cc
r7335 r7357 39 39 DeclareGameState(GSServer, "server", false, false); 40 40 41 //! @cmdarg42 41 SetCommandLineArgument(port, 55556).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)"); 43 42
Note: See TracChangeset
for help on using the changeset viewer.