Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2007, 1:37:21 AM (17 years ago)
Author:
nicolasc
Message:

added shield functionality, reverted paeddae's MP patch - does not work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/space_ships/space_ship.cc

    r10755 r10758  
    428428void SpaceShip::tick (float time)
    429429{
     430 
     431  printf("Ship Status: %f, %f\n", this->getHealth(), this->getShield());
     432 
    430433  if(caminit)
    431434  {
     
    10811084void SpaceShip::hit( float damage, WorldEntity * killer )
    10821085{
    1083   PRINTF(4)("SS HIT: %f\n", this->getHealth() );
     1086  printf("SS HIT: %f, %f \n", this->getHealth() , this->getShield());
    10841087  Playable::hit( damage, killer );
    1085   PRINTF(4)("SS HIT: %f\n", this->getHealth() ); 
     1088  PRINTF(4)("SS HIT: %f\n", this->getHealth());
    10861089}
    10871090
Note: See TracChangeset for help on using the changeset viewer.