Changeset 6404 for code/branches/presentation2/src/orxonox
- Timestamp:
- Dec 23, 2009, 7:44:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/LevelManager.cc
r6394 r6404 30 30 31 31 #include <map> 32 #include <OgreResourceGroupManager.h>33 32 34 33 #include "core/CommandLineParser.h" … … 36 35 #include "core/CoreIncludes.h" 37 36 #include "core/Loader.h" 37 #include "core/Resource.h" 38 38 #include "core/ScopedSingletonManager.h" 39 39 #include "PlayerManager.h" … … 132 132 void LevelManager::compileAvailableLevelList() 133 133 { 134 availableLevels_.clear(); 135 136 availableLevels_ = *Ogre::ResourceGroupManager::getSingleton().findResourceNames( 137 Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, "*.oxw"); 138 134 availableLevels_ = *Resource::findResourceNames("*.oxw"); 139 135 for (std::vector<std::string>::iterator it = availableLevels_.begin(); it != availableLevels_.end();) 140 136 if (it->find("old/") == 0)
Note: See TracChangeset
for help on using the changeset viewer.