Changeset 2685 for code/branches/buildsystem3/src/orxonox/objects
- Timestamp:
- Feb 20, 2009, 5:32:04 PM (16 years ago)
- Location:
- code/branches/buildsystem3/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/orxonox/objects/Level.cc
r2664 r2685 35 35 #include "core/XMLFile.h" 36 36 #include "core/Template.h" 37 #include "core/Core.h" 37 38 38 #include "Settings.h"39 39 #include "LevelManager.h" 40 40 #include "objects/infos/PlayerInfo.h" … … 55 55 this->xmlfilename_ = this->getFilename(); 56 56 57 if (this->xmlfilename_.length() >= Settings::getDataPath().length())58 this->xmlfilename_ = this->xmlfilename_.substr( Settings::getDataPath().length());57 if (this->xmlfilename_.length() >= Core::getMediaPath().length()) 58 this->xmlfilename_ = this->xmlfilename_.substr(Core::getMediaPath().length()); 59 59 } 60 60 … … 97 97 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 98 98 99 this->xmlfile_ = new XMLFile( Settings::getDataPath() + this->xmlfilename_, mask);99 this->xmlfile_ = new XMLFile(Core::getMediaPath() + this->xmlfilename_, mask); 100 100 101 101 Loader::open(this->xmlfile_); -
code/branches/buildsystem3/src/orxonox/objects/gametypes/Gametype.cc
r2662 r2685 43 43 #include "objects/worldentities/SpawnPoint.h" 44 44 #include "objects/worldentities/Camera.h" 45 #include "Settings.h"46 45 47 46 #include "network/Host.h"
Note: See TracChangeset
for help on using the changeset viewer.