Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9019 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Jul 2, 2006, 4:41:32 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: OggPlayer retrieves Information about the current Title
The Title Played is relayed to the Hud's Notifier

File:
1 edited

Legend:

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

    r8975 r9019  
    389389    std::string oggFile = ResourceManager::getFullName(name);
    390390    this->music = new OrxSound::OggPlayer(oggFile);
     391    if (this->localPlayer != NULL)
     392      this->localPlayer->hud().notifyUser(std::string("Playing SoundTrack: ") + this->music->artist() + " - " + this->music->title());
    391393
    392394    //(OggPlayer*)ResourceManager::getInstance()->load(name, OGG, RP_LEVEL);
Note: See TracChangeset for help on using the changeset viewer.