Changeset 6021 for code/trunk/src/orxonox/Main.cc
- Timestamp:
- Nov 4, 2009, 12:28:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/Main.cc
r5929 r6021 36 36 #include "OrxonoxPrereqs.h" 37 37 38 #include "core/CommandLine .h"38 #include "core/CommandLineParser.h" 39 39 #include "core/Game.h" 40 40 #include "core/LuaState.h" … … 76 76 77 77 // Some development hacks (not really, but in the future, this calls won't make sense anymore) 78 if (CommandLine ::getValue("standalone").getBool())78 if (CommandLineParser::getValue("standalone").getBool()) 79 79 Game::getInstance().requestStates("graphics, standalone, level"); 80 else if (CommandLine ::getValue("server").getBool())80 else if (CommandLineParser::getValue("server").getBool()) 81 81 Game::getInstance().requestStates("graphics, server, level"); 82 else if (CommandLine ::getValue("client").getBool())82 else if (CommandLineParser::getValue("client").getBool()) 83 83 Game::getInstance().requestStates("graphics, client, level"); 84 else if (CommandLine ::getValue("dedicated").getBool())84 else if (CommandLineParser::getValue("dedicated").getBool()) 85 85 Game::getInstance().requestStates("dedicated, level"); 86 else if (CommandLine ::getValue("dedicatedClient").getBool())86 else if (CommandLineParser::getValue("dedicatedClient").getBool()) 87 87 Game::getInstance().requestStates("dedicatedClient, level"); 88 else if (CommandLine ::getValue("console").getBool())88 else if (CommandLineParser::getValue("console").getBool()) 89 89 Game::getInstance().requestStates("ioConsole"); 90 90 else
Note: See TracChangeset
for help on using the changeset viewer.