Changeset 6320 for code/branches/presentation2/src/orxonox/controllers
- Timestamp:
- Dec 11, 2009, 2:05:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
r6316 r6320 62 62 , crossHairOverlay_(NULL) 63 63 , 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) 64 73 { 65 74 RegisterObject(NewHumanController); … … 560 569 561 570 void NewHumanController::showOverlays() { 571 if( !GameMode::showsGraphics() ) 572 return; 562 573 this->crossHairOverlay_->show(); 563 574 this->centerOverlay_->show(); … … 572 583 573 584 void NewHumanController::hideOverlays() { 585 if( !GameMode::showsGraphics() ) 586 return; 574 587 this->crossHairOverlay_->hide(); 575 588 this->centerOverlay_->hide(); … … 586 599 587 600 void NewHumanController::hideArrows() { 601 if( !GameMode::showsGraphics() ) 602 return; 588 603 if (showArrows_) { 589 604 this->arrowsOverlay1_->hide();
Note: See TracChangeset
for help on using the changeset viewer.