Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10178 in orxonox.OLD for branches/data_fix


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

fixes for data-directory-structure

Location:
branches/data_fix/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/data_fix/src/lib/gui/gl/glgui_handler.cc

    r9869 r10178  
    7777    this->_cursor->setMaxBorders(Vector2D(GraphicsEngine::getInstance()->getResolutionX(), GraphicsEngine::getInstance()->getResolutionY()));
    7878
    79     _cursor->loadTextureSequence(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/" + "maps/reap_mouse/reap_mouse_##.png", 1, 49);
     79    _cursor->loadTextureSequence(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/" + "textures/reap_mouse/reap_mouse_##.png", 1, 49);
    8080
    8181  }
  • 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.