Changeset 10693 in orxonox.OLD for branches/hud/src/world_entities
- Timestamp:
- Jun 14, 2007, 1:20:36 PM (18 years ago)
- Location:
- branches/hud/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hud/src/world_entities/player.cc
r10685 r10693 19 19 20 20 #include "event_handler.h" 21 #include " fps_player.h"21 #include "creatures/fps_player.h" 22 22 23 23 #include "state.h" … … 76 76 this->playable = playable; 77 77 78 if( playable->isA(F psPlayer::staticClassID()) )78 if( playable->isA(FPSPlayer::staticClassID()) ) 79 79 { 80 this->_hud.setMod (Hud::PlaymodeFirstPerson);80 this->_hud.setMode(Hud::FirstPerson); 81 81 this->_hud.setHealthWidget(this->playable->getHealthWidget()); 82 82 } 83 83 else 84 84 { 85 this->_hud.setMode(Hud:: PlaymodeFull3D);85 this->_hud.setMode(Hud::Full3D); 86 86 this->_hud.setHealthWidget(this->playable->getHealthWidget()); 87 87 } -
branches/hud/src/world_entities/space_ships/space_ship.cc
r10618 r10693 1135 1135 this->updateShieldWidget(); 1136 1136 if (this->hasPlayer()) 1137 State::getPlayer()->hud().setShi ledWidget(this->shieldWidget);1137 State::getPlayer()->hud().setShieldWidget(this->shieldWidget); 1138 1138 } 1139 1139 }
Note: See TracChangeset
for help on using the changeset viewer.