Changeset 3325 for code/trunk/src/orxonox/overlays
- Timestamp:
- Jul 19, 2009, 3:48:00 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 merged: 3222-3224,3238
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/hud/AnnounceMessage.cc
r3110 r3325 56 56 SUPER(AnnounceMessage, changedOwner); 57 57 58 this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/trunk/src/orxonox/overlays/hud/DeathMessage.cc
r3110 r3325 56 56 SUPER(DeathMessage, changedOwner); 57 57 58 this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/trunk/src/orxonox/overlays/hud/GametypeStatus.cc
r3300 r3325 86 86 SUPER(GametypeStatus, changedOwner); 87 87 88 this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());88 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 89 89 } 90 90 } -
code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc
r3300 r3325 94 94 SUPER(HUDHealthBar, changedOwner); 95 95 96 this->owner_ = dynamic_cast<Pawn*>(this->getOwner());96 this->owner_ = orxonox_cast<Pawn*>(this->getOwner()); 97 97 } 98 98 -
code/trunk/src/orxonox/overlays/hud/HUDRadar.cc
r3280 r3325 164 164 SUPER(HUDRadar, changedOwner); 165 165 166 this->owner_ = dynamic_cast<Pawn*>(this->getOwner());166 this->owner_ = orxonox_cast<Pawn*>(this->getOwner()); 167 167 } 168 168 } -
code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.cc
r3196 r3325 65 65 SUPER(HUDSpeedBar, changedOwner); 66 66 67 this->owner_ = dynamic_cast<SpaceShip*>(this->getOwner());67 this->owner_ = orxonox_cast<SpaceShip*>(this->getOwner()); 68 68 } 69 69 } -
code/trunk/src/orxonox/overlays/hud/HUDTimer.cc
r3300 r3325 68 68 SUPER(HUDTimer, changedOwner); 69 69 70 this->owner_ = dynamic_cast<ControllableEntity*>(this->getOwner());70 this->owner_ = orxonox_cast<ControllableEntity*>(this->getOwner()); 71 71 } 72 72 } -
code/trunk/src/orxonox/overlays/hud/KillMessage.cc
r3110 r3325 56 56 SUPER(KillMessage, changedOwner); 57 57 58 this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/trunk/src/orxonox/overlays/hud/PongScore.cc
r3280 r3325 133 133 134 134 if (this->getOwner() && this->getOwner()->getGametype()) 135 this->owner_ = dynamic_cast<Pong*>(this->getOwner()->getGametype());135 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype()); 136 136 else 137 137 this->owner_ = 0; -
code/trunk/src/orxonox/overlays/hud/TeamBaseMatchScore.cc
r3280 r3325 118 118 119 119 if (this->getOwner() && this->getOwner()->getGametype()) 120 this->owner_ = dynamic_cast<TeamBaseMatch*>(this->getOwner()->getGametype());120 this->owner_ = orxonox_cast<TeamBaseMatch*>(this->getOwner()->getGametype()); 121 121 else 122 122 this->owner_ = 0; -
code/trunk/src/orxonox/overlays/hud/UnderAttackHealthBar.cc
r3196 r3325 73 73 SUPER(UnderAttackHealthBar, changedOwner); 74 74 75 PlayerInfo* player = dynamic_cast<PlayerInfo*>(this->getOwner());75 PlayerInfo* player = orxonox_cast<PlayerInfo*>(this->getOwner()); 76 76 if (player) 77 77 { 78 78 this->owner_ = player; 79 79 80 UnderAttack* ua = dynamic_cast<UnderAttack*>(player->getGametype());80 UnderAttack* ua = orxonox_cast<UnderAttack*>(player->getGametype()); 81 81 if (ua) 82 82 { -
code/trunk/src/orxonox/overlays/map/Map.cc
r3300 r3325 359 359 //COUT(0) << "shipptr" << this->getOwner()->getReverseCamera() << std::endl; 360 360 361 ControllableEntity* entity = dynamic_cast<ControllableEntity*>(this->getOwner());361 ControllableEntity* entity = orxonox_cast<ControllableEntity*>(this->getOwner()); 362 362 if(entity && entity->getReverseCamera()) 363 363 {
Note: See TracChangeset
for help on using the changeset viewer.