Changeset 9550 for code/trunk/src/orxonox
- Timestamp:
- Mar 12, 2013, 11:13:03 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/testing (added) merged: 9015,9017,9020-9022,9025-9026,9047,9076-9078,9114-9115,9221-9226,9356,9473-9480,9524,9529-9531,9533-9545,9547-9549
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/LevelManager.cc
r8891 r9550 65 65 if (!CommandLineParser::getArgument("level")->hasDefaultValue()) 66 66 { 67 ModifyConfigValue(defaultLevelName_, tset, CommandLineParser::getValue("level").get String());67 ModifyConfigValue(defaultLevelName_, tset, CommandLineParser::getValue("level").get<std::string>()); 68 68 } 69 69 -
code/trunk/src/orxonox/Main.cc
r8858 r9550 68 68 orxout(user_status) << "Finished initialization" << endl; 69 69 70 if (CommandLineParser::getValue("generateDoc").get String().empty())70 if (CommandLineParser::getValue("generateDoc").get<std::string>().empty()) 71 71 { 72 72 orxout(internal_info) << "preparing game states" << endl; … … 86 86 87 87 // Some development hacks (not really, but in the future, these calls won't make sense anymore) 88 if (CommandLineParser::getValue("standalone").get Bool())88 if (CommandLineParser::getValue("standalone").get<bool>()) 89 89 Game::getInstance().requestStates("graphics, standalone, level"); 90 else if (CommandLineParser::getValue("server").get Bool())90 else if (CommandLineParser::getValue("server").get<bool>()) 91 91 Game::getInstance().requestStates("graphics, server, level"); 92 else if (CommandLineParser::getValue("client").get Bool())92 else if (CommandLineParser::getValue("client").get<bool>()) 93 93 Game::getInstance().requestStates("graphics, client, level"); 94 else if (CommandLineParser::getValue("dedicated").get Bool())94 else if (CommandLineParser::getValue("dedicated").get<bool>()) 95 95 Game::getInstance().requestStates("server, level"); 96 else if (CommandLineParser::getValue("dedicatedClient").get Bool())96 else if (CommandLineParser::getValue("dedicatedClient").get<bool>()) 97 97 Game::getInstance().requestStates("client, level"); 98 98 /* ADD masterserver command */ 99 else if (CommandLineParser::getValue("masterserver").get Bool())99 else if (CommandLineParser::getValue("masterserver").get<bool>()) 100 100 Game::getInstance().requestStates("masterserver"); 101 101 else 102 102 { 103 if (!CommandLineParser::getValue("console").get Bool())103 if (!CommandLineParser::getValue("console").get<bool>()) 104 104 Game::getInstance().requestStates("graphics, mainMenu"); 105 105 } -
code/trunk/src/orxonox/graphics/ParticleEmitter.cc
r8858 r9550 71 71 SUPER(ParticleEmitter, XMLPort, xmlelement, mode); 72 72 73 XMLPortParam(ParticleEmitter, "lod", setLODxml, getLODxml, xmlelement, mode).defaultValues( LODParticle::Normal);73 XMLPortParam(ParticleEmitter, "lod", setLODxml, getLODxml, xmlelement, mode).defaultValues(static_cast<unsigned int>(LODParticle::Normal)); 74 74 XMLPortParam(ParticleEmitter, "source", setSource, getSource, xmlelement, mode); 75 75 } -
code/trunk/src/orxonox/overlays/InGameConsole.cc
r8858 r9550 47 47 #include "util/ScopedSingletonManager.h" 48 48 #include "util/output/MemoryWriter.h" 49 #include "util/output/OutputManager.h" 49 50 #include "core/CoreIncludes.h" 50 51 #include "core/ConfigValueIncludes.h" … … 95 96 // Output buffering is not anymore needed. Not the best solution to do 96 97 // this here, but there isn't much of another way. 97 MemoryWriter::getInstance().disable();98 OutputManager::getInstance().getMemoryWriter()->disable(); 98 99 } 99 100
Note: See TracChangeset
for help on using the changeset viewer.