Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9019 in orxonox.OLD for trunk/src/world_entities/player.cc


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/world_entities/player.cc

    r8362 r9019  
    3838
    3939  this->playable = NULL;
    40   this->hud.setVisibility(true);
     40  this->_hud.setVisibility(true);
    4141
    4242  this->subscribeEvent(ES_GAME, KeyMapper::PEV_CHANGE_SHIP);
     
    6262  {
    6363    PRINTF(4)("Player gets ejected from Playable\n");
    64     this->hud.setEnergyWidget(NULL);
    65     this->hud.setWeaponManager(NULL);
     64    this->_hud.setEnergyWidget(NULL);
     65    this->_hud.setWeaponManager(NULL);
    6666
    6767    Playable* ejectedPlayable = this->playable;
     
    7575    PRINTF(4)("Enter new Playable\n");
    7676      this->playable = playable;
    77       this->hud.setEnergyWidget(this->playable->getHealthWidget());
    78       this->hud.setWeaponManager(&this->playable->getWeaponManager());
     77      this->_hud.setEnergyWidget(this->playable->getHealthWidget());
     78      this->_hud.setWeaponManager(&this->playable->getWeaponManager());
    7979
    8080      this->playable->setPlayer(this);
     
    9696 void Player::weaponConfigChanged()
    9797 {
    98    this->hud.updateWeaponManager();
     98   this->_hud.updateWeaponManager();
    9999 }
    100100
Note: See TracChangeset for help on using the changeset viewer.