Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 10:54:26 PM (15 years ago)
Author:
landauf
Message:
  • Moved some variables from Gametype to GametypeInfo (Gametype exists only on the Server while GametypeInfo is synchronized)
  • Created a new HUD-element, GametypeStatus, based on GametypeInfo (the same effect was formerly achieved by using a hack in Spectator and a TextOverlay)
  • HumanController creates a HUD (additionally to the SpaceShips HUD) which includes GametypeStatus and ChatOverlay and even more in the future
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/infos/PlayerInfo.cc

    r2369 r2428  
    112112        if (this->controllableEntity_)
    113113            this->controller_->setControllableEntity(this->controllableEntity_);
     114        this->changedController();
    114115    }
    115116
    116117    void PlayerInfo::startControl(ControllableEntity* entity)
    117118    {
     119        if (entity == this->controllableEntity_)
     120            return;
     121
    118122        if (this->controllableEntity_)
    119123            this->stopControl(this->controllableEntity_);
Note: See TracChangeset for help on using the changeset viewer.