Changeset 9798 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/resource.cc
- Timestamp:
- Sep 24, 2006, 11:55:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/resource.cc
r9795 r9798 109 109 //// KEEPLEVEL //// 110 110 /////////////////// 111 std::vector<std::string> Resources::KeepLevel::_keepLevelNames; 112 void Resources::KeepLevel::defineKeepLevelName(unsigned int level, const std::string& name) 111 Resources::KeepLevel::KeepLevel(const std::string& keepLevelName) 113 112 { 114 if (_keepLevelNames.size() <= level) 115 _keepLevelNames.resize(level+1); 116 _keepLevelNames[level] = name; 113 this->_keepLevel = NewResourceManager::getInstance()->getKeepLevelID(keepLevelName); 117 114 } 115 118 116 119 117
Note: See TracChangeset
for help on using the changeset viewer.