- Timestamp:
- Jun 20, 2007, 9:03:02 PM (18 years ago)
- Location:
- branches/presentation/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/util/hud.cc
r10741 r10744 433 433 void Hud::removeWeaponWidget(OrxGui::GLGuiWidget* widget) 434 434 {} 435 436 void Hud::getHit() 437 { 438 this->leftHit->show(); 439 this->rightHit->show(); 440 } 435 441 436 442 void Hud::updateResolution() -
branches/presentation/src/util/hud.h
r10741 r10744 49 49 void setMode(Hud::Playmode playmode); 50 50 inline Hud::Playmode getMode() {return this->playmode;}; 51 52 void getHit(); 51 53 52 54 void setBackGround(); -
branches/presentation/src/world_entities/creatures/fps_player.cc
r10741 r10744 212 212 { 213 213 Playable::loadParams(root); 214 } 215 216 void FPSPlayer::hit(float damage, WorldEntity* killer) 217 { 218 WorldEntity::hit(damage, killer); 219 if (this->hasPlayer()) 220 this->getCurrentPlayer()->hud().getHit(); 214 221 } 215 222 -
branches/presentation/src/world_entities/creatures/fps_player.h
r10718 r10744 31 31 32 32 virtual void reset(); 33 34 virtual void hit(float damage, WorldEntity* killer); 33 35 34 36 virtual void destroy(WorldEntity* killer);
Note: See TracChangeset
for help on using the changeset viewer.