- Timestamp:
- Aug 17, 2009, 3:42:39 PM (15 years ago)
- Location:
- code/branches/resource2/src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/src/core/CMakeLists.txt
r3370 r5653 33 33 ObjectListBase.cc 34 34 OrxonoxClass.cc 35 Resource.cc 35 36 WindowEventListener.cc 36 37 -
code/branches/resource2/src/core/CorePrereqs.h
r3370 r5653 148 148 class OgreWindowEventListener; 149 149 class OrxonoxClass; 150 struct ResourceInfo; 150 151 class Shell; 151 152 class ShellListener; … … 223 224 } 224 225 226 // Ogre 227 namespace Ogre 228 { 229 class DataStream; 230 template <class T> class SharedPtr; 231 typedef SharedPtr<DataStream> DataStreamPtr; 232 } 233 namespace orxonox 234 { 235 // Import the Ogre::DataStream 236 using Ogre::DataStream; 237 using Ogre::DataStreamPtr; 238 } 239 225 240 // CEGUI 226 241 namespace CEGUI -
code/branches/resource2/src/core/XMLFile.h
r3196 r5653 40 40 { 41 41 public: 42 XMLFile(const std::string& filename) : filename_(filename) {} 43 XMLFile(const std::string& filename, const ClassTreeMask& mask) : filename_(filename), mask_(mask) {}; 42 XMLFile(const std::string& filename, const std::string& resourceGroup = "General") 43 : filename_(filename) 44 , group_(resourceGroup) 45 { } 46 XMLFile(const ClassTreeMask& mask, const std::string& filename, const std::string& resourceGroup = "General") 47 : filename_(filename) 48 , group_(resourceGroup) 49 , mask_(mask) 50 { } 44 51 45 52 const std::string& getFilename() const { return this->filename_; } 53 const std::string& getResourceGroup() const { return this->group_; } 46 54 const ClassTreeMask& getMask() const { return this->mask_; } 47 55 48 56 private: 49 57 std::string filename_; 58 std::string group_; 50 59 ClassTreeMask mask_; 51 60 }; -
code/branches/resource2/src/orxonox/objects/Level.cc
r5645 r5653 101 101 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 102 102 103 this->xmlfile_ = new XMLFile( Core::getDataPathString() + this->xmlfilename_, mask);103 this->xmlfile_ = new XMLFile(mask, this->xmlfilename_); 104 104 105 105 Loader::open(this->xmlfile_);
Note: See TracChangeset
for help on using the changeset viewer.