Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 23, 2006, 6:52:01 PM (18 years ago)
Author:
bensch
Message:

the new ResourceManger should work with the global settings

File:
1 edited

Legend:

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

    r9794 r9795  
    3434NewResourceManager::NewResourceManager ()
    3535{
    36   //this->registerObject(this, NewResourceManager::_objectList);
     36  this->registerObject(this, NewResourceManager::_objectList);
    3737  this->setName("NewResourceManager");
    3838
     
    103103
    104104
     105
     106bool NewResourceManager::checkFileInMainPath(const File& fileInside)
     107{
     108  return (this->_mainGlobalPath + fileInside).exists();
     109}
     110
     111
    105112/**
    106113 * @brief outputs debug information about the NewResourceManager
     
    114121  std::vector<Resources::Type*>::const_iterator it;
    115122  for (it = this->_resourceTypes.begin(); it != this->_resourceTypes.end(); ++it)
     123  {
    116124    (*it)->debug();
     125    if (it != --this->_resourceTypes.end())
     126      PRINT(0)(" ------------------------------------\n ");
     127  }
    117128
    118129  PRINT(0)("==================================RM==\n");
Note: See TracChangeset for help on using the changeset viewer.