- Timestamp:
- Feb 27, 2009, 2:13:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/orxonox/gamestates/GSGraphics.cc
r2699 r2702 45 45 #include <OgreWindowEventUtilities.h> 46 46 47 #include "SpecialConfig.h" 47 48 #include "util/Debug.h" 48 49 #include "util/Exception.h" … … 135 136 // load debug overlay 136 137 COUT(3) << "Loading Debug Overlay..." << std::endl; 137 this->debugOverlay_ = new XMLFile( Core::getMediaPath() + "overlay/debug.oxo");138 this->debugOverlay_ = new XMLFile((Core::getMediaPath() / "overlay" / "debug.oxo").file_string()); 138 139 Loader::open(debugOverlay_); 139 140 … … 293 294 } 294 295 295 boost::filesystem::path ogreConfigFilepath(Core::getConfigPath()); 296 ogreConfigFilepath /= this->ogreConfigFile_; 297 boost::filesystem::path ogreLogFilepath(Core::getLogPath()); 298 ogreLogFilepath /= this->ogreLogFile_; 296 boost::filesystem::path ogreConfigFilepath(Core::getConfigPath() / this->ogreConfigFile_); 297 boost::filesystem::path ogreLogFilepath(Core::getLogPath() / this->ogreLogFile_); 299 298 300 299 // create a new logManager … … 357 356 try 358 357 { 359 cf.load( Core::getMediaPath() + resourceFile_);358 cf.load((Core::getMediaPath() / resourceFile_).file_string()); 360 359 } 361 360 catch (...) … … 383 382 384 383 Ogre::ResourceGroupManager::getSingleton().addResourceLocation( 385 std::string(Core::getMediaPath() + archName), typeName, secName);384 (Core::getMediaPath() / archName).directory_string(), typeName, secName); 386 385 } 387 386 }
Note: See TracChangeset
for help on using the changeset viewer.