Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2007, 4:27:32 AM (17 years ago)
Author:
marcscha
Message:

Fixes for weapon systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r10538 r10539  
    190190  this->weaponMan.addWeapon( wpRight1, 0, 1);
    191191
    192   this->weaponMan.addWeapon( wpLeft2, 1, 2);
    193   this->weaponMan.addWeapon( wpRight2, 1, 3);
    194 
    195   this->weaponMan.addWeapon( wpLeft3, 2, 4);
    196   this->weaponMan.addWeapon( wpRight3, 2, 5);
     192  this->weaponMan.addWeapon( wpLeft2, 1, 0);
     193  this->weaponMan.addWeapon( wpRight2, 1, 1);
     194
     195  this->weaponMan.addWeapon( wpLeft3, 2, 0);
     196  this->weaponMan.addWeapon( wpRight3, 2, 1);
    197197
    198198  this->weaponMan.addWeapon( wpLeft1, 3, 0);
     
    235235  engineEnergyShare = 0.4;
    236236
    237   shieldCur         = 20;
     237  shieldCur         = 100;
    238238  shieldMax         = 100;
    239239  shieldTH          = .2 * shieldMax;   // shield power must be 20% before shield kicks in again
    240240
    241   this->setHealth( 20);
     241  this->setHealth( 100);
    242242  this->setHealthMax( 100);
    243243
     
    507507  glMultMatrixf((float*)matrix);
    508508  //glScalef(2.0, 2.0, 2.0);  // no double rescale
    509         // FIXME
    510509
    511510
Note: See TracChangeset for help on using the changeset viewer.