Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2009, 2:05:00 AM (14 years ago)
Author:
scheusso
Message:

various fixes for client: NHC, sound, callback handling of Vector4 & Quaternion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc

    r6316 r6320  
    6262        , crossHairOverlay_(NULL)
    6363        , centerOverlay_(NULL)
     64        , arrowsOverlay1_(NULL)
     65        , arrowsOverlay2_(NULL)
     66        , arrowsOverlay3_(NULL)
     67        , arrowsOverlay4_(NULL)
     68        , damageOverlayTop_(NULL)
     69        , damageOverlayRight_(NULL)
     70        , damageOverlayBottom_(NULL)
     71        , damageOverlayLeft_(NULL)
     72        , damageOverlayTT_(0)
    6473    {
    6574        RegisterObject(NewHumanController);
     
    560569
    561570    void NewHumanController::showOverlays() {
     571        if( !GameMode::showsGraphics() )
     572            return;
    562573        this->crossHairOverlay_->show();
    563574        this->centerOverlay_->show();
     
    572583
    573584    void NewHumanController::hideOverlays() {
     585        if( !GameMode::showsGraphics() )
     586            return;
    574587        this->crossHairOverlay_->hide();
    575588        this->centerOverlay_->hide();
     
    586599
    587600    void NewHumanController::hideArrows() {
     601        if( !GameMode::showsGraphics() )
     602            return;
    588603        if (showArrows_) {
    589604            this->arrowsOverlay1_->hide();
Note: See TracChangeset for help on using the changeset viewer.