Changeset 7614 for code/branches/releasetodo
- Timestamp:
- Nov 4, 2010, 5:01:40 PM (14 years ago)
- Location:
- code/branches/releasetodo
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/releasetodo/data/levels/notifications.oxw
r7474 r7614 5 5 include("templates/lodinformation.oxt") 6 6 ?> 7 8 <LevelInfo 9 name = "Notifications showcase" 10 description = "Level to test and showcase notifications." 11 tags = "test, showcase, notifications" 12 /> 7 13 8 14 <Level -
code/branches/releasetodo/src/orxonox/CMakeLists.txt
r7504 r7614 25 25 SET_SOURCE_FILES(ORXONOX_SRC_FILES 26 26 Level.cc 27 LevelInfo.cc 27 28 LevelManager.cc 28 29 Main.cc … … 58 59 TOLUA_FILES 59 60 ChatInputHandler.h 61 LevelInfo.h 60 62 LevelManager.h 61 63 MoodManager.h -
code/branches/releasetodo/src/orxonox/Level.cc
r7163 r7614 76 76 XMLPortObject(Level, MeshLodInformation, "lodinformation", addLodInfo, getLodInfo, xmlelement, mode); 77 77 XMLPortObjectExtended(Level, BaseObject, "", addObject, getObject, xmlelement, mode, true, false); 78 }78 } 79 79 80 80 void Level::registerVariables() -
code/branches/releasetodo/src/orxonox/LevelManager.cc
r7284 r7614 32 32 33 33 #include "util/ScopedSingletonManager.h" 34 #include "core/ClassTreeMask.h" 34 35 #include "core/CommandLineParser.h" 35 36 #include "core/ConfigValueIncludes.h" … … 37 38 #include "core/Loader.h" 38 39 #include "core/Resource.h" 40 #include "core/XMLFile.h" 39 41 #include "PlayerManager.h" 40 42 #include "Level.h" 43 #include "LevelInfo.h" 41 44 42 45 namespace orxonox … … 142 145 { 143 146 size_t pos = it->find(".oxw"); 147 COUT(0) << *it << std::endl; 148 XMLFile file = XMLFile(*it); 149 ClassTreeMask mask = ClassTreeMask(); 150 mask.exclude(ClassIdentifier<BaseObject>::getIdentifier()); 151 mask.include(ClassIdentifier<LevelInfo>::getIdentifier()); 152 Loader::load(&file, mask); 153 144 154 this->availableLevels_.push_back(it->substr(0, pos)); 145 155 } 146 156 } 157 147 158 } 148 159 } -
code/branches/releasetodo/src/orxonox/OrxonoxPrereqs.h
r7163 r7614 67 67 class CameraManager; 68 68 class Level; 69 class LevelInfo; 69 70 class LevelManager; 70 71 class PawnManager;
Note: See TracChangeset
for help on using the changeset viewer.