Changeset 5679 for code/branches/resource3/src/orxonox
- Timestamp:
- Aug 24, 2009, 8:17:56 PM (15 years ago)
- Location:
- code/branches/resource3/src/orxonox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource3/src/orxonox/LevelManager.cc
r3370 r5679 135 135 availableLevels_.clear(); 136 136 137 boost::filesystem::directory_iterator file(Core::get MediaPathString() + "levels");137 boost::filesystem::directory_iterator file(Core::getExternalMediaPathString() + "levels"); 138 138 boost::filesystem::directory_iterator end; 139 139 -
code/branches/resource3/src/orxonox/gamestates/GSGraphics.cc
r3370 r5679 96 96 // load debug overlay 97 97 COUT(3) << "Loading Debug Overlay..." << std::endl; 98 this->debugOverlay_ = new XMLFile(Core::get MediaPathString() + "overlay/debug.oxo");98 this->debugOverlay_ = new XMLFile(Core::getExternalMediaPathString() + "overlay/debug.oxo"); 99 99 Loader::open(debugOverlay_); 100 100 -
code/branches/resource3/src/orxonox/gamestates/GSLevel.cc
r5677 r5679 246 246 // call the loader 247 247 COUT(0) << "Loading level..." << std::endl; 248 startFile_s = new XMLFile(Core::get MediaPathString() + "levels" + '/' + LevelManager::getInstance().getDefaultLevel());248 startFile_s = new XMLFile(Core::getExternalMediaPathString() + "levels" + '/' + LevelManager::getInstance().getDefaultLevel()); 249 249 Loader::open(startFile_s); 250 250 } -
code/branches/resource3/src/orxonox/objects/Level.cc
r3325 r5679 54 54 this->xmlfilename_ = this->getFilename(); 55 55 56 if (this->xmlfilename_.length() >= Core::get MediaPathString().length())57 this->xmlfilename_ = this->xmlfilename_.substr(Core::get MediaPathString().length());56 if (this->xmlfilename_.length() >= Core::getExternalMediaPathString().length()) 57 this->xmlfilename_ = this->xmlfilename_.substr(Core::getExternalMediaPathString().length()); 58 58 } 59 59 … … 101 101 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 102 102 103 this->xmlfile_ = new XMLFile(Core::get MediaPathString() + this->xmlfilename_, mask);103 this->xmlfile_ = new XMLFile(Core::getExternalMediaPathString() + this->xmlfilename_, mask); 104 104 105 105 Loader::open(this->xmlfile_); -
code/branches/resource3/src/orxonox/orxonox.vcproj.user.in
r3196 r5679 11 11 <DebugSettings 12 12 WorkingDirectory="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$(OutDir)" 13 Environment="Path=${ ORXONOX_RUNTIME_LIBRARY_DIRECTORY}"13 Environment="Path=${RUNTIME_LIBRARY_DIRECTORY}" 14 14 EnvironmentMerge="true" 15 15 /> … … 20 20 <DebugSettings 21 21 WorkingDirectory="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$(OutDir)" 22 Environment="Path=${ ORXONOX_RUNTIME_LIBRARY_DIRECTORY}"22 Environment="Path=${RUNTIME_LIBRARY_DIRECTORY}" 23 23 EnvironmentMerge="true" 24 24 /> … … 29 29 <DebugSettings 30 30 WorkingDirectory="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$(OutDir)" 31 Environment="Path=${ ORXONOX_RUNTIME_LIBRARY_DIRECTORY}"31 Environment="Path=${RUNTIME_LIBRARY_DIRECTORY}" 32 32 EnvironmentMerge="true" 33 33 /> … … 38 38 <DebugSettings 39 39 WorkingDirectory="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$(OutDir)" 40 Environment="Path=${ ORXONOX_RUNTIME_LIBRARY_DIRECTORY}"40 Environment="Path=${RUNTIME_LIBRARY_DIRECTORY}" 41 41 EnvironmentMerge="true" 42 42 /> -
code/branches/resource3/src/orxonox/sound/SoundBase.cc
r3370 r5679 135 135 136 136 bool SoundBase::loadFile(std::string filename) { 137 filename = Core::get MediaPathString() + "/audio/" + filename;137 filename = Core::getExternalMediaPathString() + "/audio/" + filename; 138 138 139 139 if(!SoundManager::getInstance().isSoundAvailable())
Note: See TracChangeset
for help on using the changeset viewer.