Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6634 in orxonox.OLD for trunk/src/story_entities/game_world_data.cc


Ignore:
Timestamp:
Jan 21, 2006, 1:18:19 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the network-branche back to the trunk

merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/network . -r6500:HEAD
minor conflicts in texture and one Makefile resolved to the trunk

also made a small patch to texture, so it Modulates with GL_REPEAT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world_data.cc

    r6626 r6634  
    7272  this->setClassID(CL_GAME_WORLD_DATA, "GameWorldData");
    7373
    74   this->localPlayer = NULL;
    75   this->localCamera = NULL;
    76 
    7774  this->glmis = NULL;
    7875
     
    283280  if( this->sky != NULL)
    284281    this->localCamera->addChild(this->sky);
    285 
    286   /* sound loading */
    287   this->music = NULL;
    288   //(OggPlayer*)ResourceManager::getInstance()->load("sound/00-luke_grey_-_hypermode.ogg", OGG, RP_LEVEL);
    289   //music->playback();
    290282  SoundEngine::getInstance()->setListener(this->localCamera);
    291283}
     
    310302}
    311303
     304
     305void GameWorldData::setSoundTrack(const char* name)
     306{
     307  PRINTF(3)("Setting Sound Track to %s\n", name);
     308  this->music = (OggPlayer*)ResourceManager::getInstance()->load(name, OGG, RP_LEVEL);
     309}
     310
     311
Note: See TracChangeset for help on using the changeset viewer.