Changeset 6021 for code/trunk/src/libraries/core/Core.cc
- Timestamp:
- Nov 4, 2009, 12:28:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Core.cc
r5929 r6021 54 54 #include "PathConfig.h" 55 55 #include "CommandExecutor.h" 56 #include "CommandLine .h"56 #include "CommandLineParser.h" 57 57 #include "ConfigFileManager.h" 58 58 #include "ConfigValueIncludes.h" … … 216 216 217 217 // Parse command line arguments AFTER the modules have been loaded (static code!) 218 CommandLine ::parseCommandLine(cmdLine);218 CommandLineParser::parseCommandLine(cmdLine); 219 219 220 220 // Set configurable paths like log, config and media … … 230 230 231 231 // Parse additional options file now that we know its path 232 CommandLine ::parseFile();232 CommandLineParser::parseFile(); 233 233 234 234 #ifdef ORXONOX_PLATFORM_WINDOWS … … 236 236 // do this after ogre has initialised. Somehow Ogre changes the settings again (not through 237 237 // the timer though). 238 int limitToCPU = CommandLine ::getValue("limitToCPU");238 int limitToCPU = CommandLineParser::getValue("limitToCPU"); 239 239 if (limitToCPU > 0) 240 240 setThreadAffinity(static_cast<unsigned int>(limitToCPU)); … … 244 244 this->configFileManager_.reset(new ConfigFileManager()); 245 245 this->configFileManager_->setFilename(ConfigFileType::Settings, 246 CommandLine ::getValue("settingsFile").getString());246 CommandLineParser::getValue("settingsFile").getString()); 247 247 248 248 // Required as well for the config values
Note: See TracChangeset
for help on using the changeset viewer.