Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9790 in orxonox.OLD for branches/new_class_id/src/orxonox.cc


Ignore:
Timestamp:
Sep 23, 2006, 10:34:42 AM (18 years ago)
Author:
bensch
Message:

added new_resource_manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/orxonox.cc

    r9789 r9790  
    367367  }
    368368
    369 
     369  NewResource::debug();
    370370  //! @todo this is a hack and should be loadable
    371   std::string imageDir = ResourceManager::getInstance()->getFullName("maps");
    372   ResourceManager::getInstance()->addImageDir(imageDir);
    373   imageDir = ResourceManager::getInstance()->getFullName("pictures");
    374   ResourceManager::getInstance()->addImageDir(imageDir);
     371  NewResource::addResourceSubPath("Texture", "maps");
     372  NewResource::addResourceSubPath("Texture", "pictures");
    375373
    376374  //  DynamicLoader::loadDyLib("libtest.so");
Note: See TracChangeset for help on using the changeset viewer.