Changeset 2702 for code/branches/buildsystem3/src/orxonox/gamestates
- Timestamp:
- Feb 27, 2009, 2:13:29 PM (16 years ago)
- Location:
- code/branches/buildsystem3/src/orxonox/gamestates
- Files:
-
- 3 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 } -
code/branches/buildsystem3/src/orxonox/gamestates/GSLevel.cc
r2690 r2702 202 202 std::string levelName; 203 203 CommandLine::getValue("level", &levelName); 204 startFile_ = new XMLFile(Core::getMediaPath () + std::string("levels/")+ levelName);204 startFile_ = new XMLFile(Core::getMediaPathString() + "levels" + CP_SLASH + levelName); 205 205 Loader::open(startFile_); 206 206 } -
code/branches/buildsystem3/src/orxonox/gamestates/GSRoot.cc
r2693 r2702 111 111 112 112 // initialise TCL 113 this->tclBind_ = new TclBind(Core::getMediaPath ());113 this->tclBind_ = new TclBind(Core::getMediaPathPOSIXString()); 114 114 this->tclThreadManager_ = new TclThreadManager(tclBind_->getTclInterpreter()); 115 115
Note: See TracChangeset
for help on using the changeset viewer.