Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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/orxonox.cc

    r9793 r9795  
    366366  }
    367367
     368  NewResourceManager::getInstance()->setMainGlobalPath(dataPath);
     369  if (!NewResourceManager::getInstance()->checkFileInMainPath(File(DEFAULT_DATA_DIR_CHECKFILE)))
     370    exit(-1);
     371
     372
    368373  //! @todo this is a hack and should be loadable
    369374  NewResourceManager::getInstance()->addResourceSubPath("Texture", "maps");
Note: See TracChangeset for help on using the changeset viewer.