Changeset 3239 for code/branches/core4/src/orxonox/overlays
- Timestamp:
- Jun 28, 2009, 2:45:37 PM (16 years ago)
- Location:
- code/branches/core4/src/orxonox/overlays
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/overlays/hud/AnnounceMessage.cc
r3223 r3239 56 56 SUPER(AnnounceMessage, changedOwner); 57 57 58 this->owner_ = orxonox_cast<PlayerInfo >(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/branches/core4/src/orxonox/overlays/hud/DeathMessage.cc
r3223 r3239 56 56 SUPER(DeathMessage, changedOwner); 57 57 58 this->owner_ = orxonox_cast<PlayerInfo >(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/branches/core4/src/orxonox/overlays/hud/GametypeStatus.cc
r3223 r3239 86 86 SUPER(GametypeStatus, changedOwner); 87 87 88 this->owner_ = orxonox_cast<PlayerInfo >(this->getOwner());88 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 89 89 } 90 90 } -
code/branches/core4/src/orxonox/overlays/hud/HUDHealthBar.cc
r3223 r3239 94 94 SUPER(HUDHealthBar, changedOwner); 95 95 96 this->owner_ = orxonox_cast<Pawn >(this->getOwner());96 this->owner_ = orxonox_cast<Pawn*>(this->getOwner()); 97 97 } 98 98 -
code/branches/core4/src/orxonox/overlays/hud/HUDRadar.cc
r3223 r3239 164 164 SUPER(HUDRadar, changedOwner); 165 165 166 this->owner_ = orxonox_cast<Pawn >(this->getOwner());166 this->owner_ = orxonox_cast<Pawn*>(this->getOwner()); 167 167 } 168 168 } -
code/branches/core4/src/orxonox/overlays/hud/HUDSpeedBar.cc
r3223 r3239 65 65 SUPER(HUDSpeedBar, changedOwner); 66 66 67 this->owner_ = orxonox_cast<SpaceShip >(this->getOwner());67 this->owner_ = orxonox_cast<SpaceShip*>(this->getOwner()); 68 68 } 69 69 } -
code/branches/core4/src/orxonox/overlays/hud/HUDTimer.cc
r3223 r3239 68 68 SUPER(HUDTimer, changedOwner); 69 69 70 this->owner_ = orxonox_cast<ControllableEntity >(this->getOwner());70 this->owner_ = orxonox_cast<ControllableEntity*>(this->getOwner()); 71 71 } 72 72 } -
code/branches/core4/src/orxonox/overlays/hud/KillMessage.cc
r3223 r3239 56 56 SUPER(KillMessage, changedOwner); 57 57 58 this->owner_ = orxonox_cast<PlayerInfo >(this->getOwner());58 this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner()); 59 59 } 60 60 } -
code/branches/core4/src/orxonox/overlays/hud/PongScore.cc
r3223 r3239 133 133 134 134 if (this->getOwner() && this->getOwner()->getGametype()) 135 this->owner_ = orxonox_cast<Pong >(this->getOwner()->getGametype());135 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype()); 136 136 else 137 137 this->owner_ = 0; -
code/branches/core4/src/orxonox/overlays/hud/TeamBaseMatchScore.cc
r3223 r3239 118 118 119 119 if (this->getOwner() && this->getOwner()->getGametype()) 120 this->owner_ = orxonox_cast<TeamBaseMatch >(this->getOwner()->getGametype());120 this->owner_ = orxonox_cast<TeamBaseMatch*>(this->getOwner()->getGametype()); 121 121 else 122 122 this->owner_ = 0; -
code/branches/core4/src/orxonox/overlays/hud/UnderAttackHealthBar.cc
r3223 r3239 73 73 SUPER(UnderAttackHealthBar, changedOwner); 74 74 75 PlayerInfo* player = orxonox_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 = orxonox_cast<UnderAttack >(player->getGametype());80 UnderAttack* ua = orxonox_cast<UnderAttack*>(player->getGametype()); 81 81 if (ua) 82 82 { -
code/branches/core4/src/orxonox/overlays/map/Map.cc
r3223 r3239 359 359 //COUT(0) << "shipptr" << this->getOwner()->getReverseCamera() << std::endl; 360 360 361 ControllableEntity* entity = orxonox_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.