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/new_resource_manager.h

    r9797 r9798  
    2626  void registerType(Resources::Type* type);
    2727
    28   void addKeepLevel(unsigned int i, const std::string& keepLevel);
     28  unsigned int addKeepLevelName(const std::string& keepLevelName);
     29  unsigned int getKeepLevelID(const std::string& keepLevelName) const;
     30  const std::string& getKeepLevelID(unsigned int keepLevelID) const;
    2931
    3032  const std::vector<Resources::Type*> resourceTypes() const { return _resourceTypes; };
     
    5557  std::vector<Directory>             _globalPaths;
    5658
    57   std::vector<Resources::KeepLevel>  _keepLevels;
     59  std::vector<std::string>           _keepLevelNames;
    5860};
    5961
Note: See TracChangeset for help on using the changeset viewer.