Changeset 546 for code/branches/FICN/src/orxonox/orxonox.cc
- Timestamp:
- Dec 16, 2007, 10:19:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/orxonox.cc
r545 r546 193 193 { 194 194 ogre_ = new GraphicsEngine(); 195 dataPath_ = ""; 195 196 } 196 197 … … 217 218 ArgReader ar = ArgReader(argc, argv); 218 219 ar.checkArgument("mode", mode, false); 219 // ar.checkArgument("data-path", path, true);220 ar.checkArgument("data", this->dataPath_, false); 220 221 if(ar.errorHandling()) die(); 221 222 … … 354 355 cf.load(macBundlePath() + "/Contents/Resources/resources.cfg"); 355 356 #else 356 cf.load( "resources.cfg");357 cf.load(dataPath_ + "resources.cfg"); 357 358 #endif 358 359 … … 378 379 void Orxonox::setupRenderSystem() 379 380 { 380 if ( !root_->restoreConfig() &&!root_->showConfigDialog())381 if (/*!root_->restoreConfig() &&*/ !root_->showConfigDialog()) 381 382 throw Exception(52, "User canceled the config dialog!", "OrxApplication::setupRenderSystem()"); 382 383 }
Note: See TracChangeset
for help on using the changeset viewer.