Changeset 10392 for code/branches/core7/src/orxonox
- Timestamp:
- Apr 23, 2015, 10:44:57 PM (10 years ago)
- Location:
- code/branches/core7/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/Level.cc
r9667 r10392 63 63 64 64 if (this->xmlfile_) 65 Loader:: unload(this->xmlfile_);65 Loader::getInstance().unload(this->xmlfile_); 66 66 } 67 67 } … … 95 95 this->xmlfile_ = new XMLFile(mask, this->xmlfilename_); 96 96 97 Loader:: open(this->xmlfile_);97 Loader::getInstance().open(this->xmlfile_); 98 98 } 99 99 -
code/branches/core7/src/orxonox/LevelManager.cc
r10380 r10392 276 276 // Load the LevelInfo object from the level file. 277 277 XMLFile file = XMLFile(*it); 278 Loader:: load(&file, mask, false, true);278 Loader::getInstance().load(&file, mask, false, true); 279 279 280 280 // Find the LevelInfo object we've just loaded (if there was one) … … 284 284 285 285 // We don't need the loaded stuff anymore 286 Loader:: unload(&file);286 Loader::getInstance().unload(&file); 287 287 288 288 if(info == NULL) -
code/branches/core7/src/orxonox/gamestates/GSLevel.cc
r10362 r10392 168 168 // call the loader 169 169 startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel()); 170 bool loaded = Loader:: open(startFile_);170 bool loaded = Loader::getInstance().open(startFile_); 171 171 172 172 Core::getInstance().updateLastLevelTimestamp(); … … 177 177 void GSLevel::unloadLevel() 178 178 { 179 Loader:: unload(startFile_);179 Loader::getInstance().unload(startFile_); 180 180 delete startFile_; 181 181
Note: See TracChangeset
for help on using the changeset viewer.