Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10021 in orxonox.OLD for branches/playability/src/world_entities


Ignore:
Timestamp:
Dec 6, 2006, 1:48:58 PM (18 years ago)
Author:
nicolasc
Message:

cleaned space_ship.cc

File:
1 edited

Legend:

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

    r10020 r10021  
    201201  shieldTH          = .2* shieldMax;   // shield power must be 20% before shield kicks in again
    202202
    203   electronicCur     = 10;
    204   electronicMax     = 50;
     203  electronicCur = electronicMax = 50;
    205204  electronicRegen   = 3;
    206205  electronicTH      = .7 * electronicMax; // 30% of eDamage can be handled by the ship
     
    769768bool SpaceShip::systemFailure()
    770769{
    771    return (this->electronicCur < /*this->rand() */ this->electronicTH); //TODO cleanup
     770  //srand(time(0)); TODO implement
     771  return (this->electronicCur < /*rand() */ this->electronicTH);
    772772}
    773773
Note: See TracChangeset for help on using the changeset viewer.