Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2006, 11:55:20 AM (18 years ago)
Author:
bensch
Message:

modular KeepLevel implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/resource.cc

    r9795 r9798  
    109109//// KEEPLEVEL ////
    110110///////////////////
    111 std::vector<std::string> Resources::KeepLevel::_keepLevelNames;
    112 void Resources::KeepLevel::defineKeepLevelName(unsigned int level, const std::string& name)
     111Resources::KeepLevel::KeepLevel(const std::string& keepLevelName)
    113112{
    114   if (_keepLevelNames.size() <= level)
    115     _keepLevelNames.resize(level+1);
    116   _keepLevelNames[level] = name;
     113  this->_keepLevel = NewResourceManager::getInstance()->getKeepLevelID(keepLevelName);
    117114}
     115
    118116
    119117
Note: See TracChangeset for help on using the changeset viewer.