Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2006, 1:13:20 AM (18 years ago)
Author:
patrick
Message:

network: some more menu work. There is no menu visible yet (only for your info)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/game_world_data.cc

    r6434 r6504  
    7373  this->setClassID(CL_GAME_WORLD_DATA, "GameWorldData");
    7474
    75   this->localPlayer = NULL;
    76   this->localCamera = NULL;
    77 
    7875  this->glmis = NULL;
    7976
     
    285282  if( this->sky != NULL)
    286283    this->localCamera->addChild(this->sky);
    287 
    288   /* sound loading */
    289   this->music = NULL;
    290   //(OggPlayer*)ResourceManager::getInstance()->load("sound/00-luke_grey_-_hypermode.ogg", OGG, RP_LEVEL);
    291   //music->playback();
    292284  SoundEngine::getInstance()->setListener(this->localCamera);
    293285}
     
    313305}
    314306
     307
     308void GameWorldData::setSoundTrack(const char* name)
     309{
     310  PRINTF(3)("Setting Sound Track to %s\n", name);
     311  this->music = (OggPlayer*)ResourceManager::getInstance()->load(name, OGG, RP_LEVEL);
     312}
     313
     314
Note: See TracChangeset for help on using the changeset viewer.