Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10178 in orxonox.OLD for branches/data_fix/src/orxonox.cc


Ignore:
Timestamp:
Jan 3, 2007, 6:52:31 PM (18 years ago)
Author:
bknecht
Message:

fixes for data-directory-structure

File:
1 edited

Legend:

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

    r10150 r10178  
    365365
    366366  //! @todo this is a hack and should be loadable
    367   Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "maps");
    368   Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "pictures");
    369 
    370   Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "sound");
     367  Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "textures");
     368  //Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "pictures");
     369
     370  Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "sounds");
    371371  Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "music");
    372372
     
    410410
    411411  if( this->port != -1)
    412     this->gameLoader->loadNetworkCampaign("worlds/DefaultNetworkCampaign.oxc");
     412    this->gameLoader->loadNetworkCampaign("levels/DefaultNetworkCampaign.oxc");
    413413  else
    414     this->gameLoader->loadCampaign("worlds/DefaultCampaign.oxc");                       /* start orxonox in single player mode */
     414    this->gameLoader->loadCampaign("levels/DefaultCampaign.oxc");                       /* start orxonox in single player mode */
    415415
    416416  //  this->gameLoader->loadDebugCampaign(DEBUG_CAMPAIGN_0);
Note: See TracChangeset for help on using the changeset viewer.