Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2006, 12:03:36 PM (17 years ago)
Author:
nicolasc
Message:

finished animation on heavy blaster, started light blaster
code needs some cleanup

File:
1 edited

Legend:

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

    r10139 r10152  
    161161  //wpLeft2->setParent( this);
    162162 
    163   Weapon* wpRight3 = new HeavyBlaster ();
     163  Weapon* wpRight3 = new HeavyBlaster (1);
    164164  wpRight3->setName( "HeavyBlaster");
    165165  //wpRight3->setParent( this);
    166   Weapon* wpLeft3 = new HeavyBlaster ();
     166  Weapon* wpLeft3 = new HeavyBlaster (0);
    167167  wpLeft3->setName( "HeavyBlaster");
    168168  //wpLeft3->setParent( this);
     
    182182  this->weaponMan.addWeapon( wpRight3, 2, 5);
    183183
     184  this->weaponMan.addWeapon( wpLeft1, 3, 0);
     185  this->weaponMan.addWeapon( wpRight1, 3, 1);
     186
     187  this->weaponMan.addWeapon( wpLeft2, 3, 2);
     188  this->weaponMan.addWeapon( wpRight2, 3, 3);
     189
     190  this->weaponMan.addWeapon( wpLeft3, 3, 4);
     191  this->weaponMan.addWeapon( wpRight3, 3, 5);
     192
    184193  this->secWeaponMan.addWeapon( cannon, 0, 0);
    185194
    186195 
    187   this->weaponMan.changeWeaponConfig(2);
     196  this->weaponMan.changeWeaponConfig(3);
    188197  this->secWeaponMan.changeWeaponConfig(0);
    189198
     
    274283  this->weaponMan.setSlotCount(6);
    275284
    276   this->weaponMan.setSlotPosition(0, Vector(-2.6, 0, -3.0));
     285  this->weaponMan.setSlotPosition(0, Vector(0.0, 0, -3.0));
    277286  this->weaponMan.setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    278287
    279   this->weaponMan.setSlotPosition(1, Vector(-2.6, 0, 3.0));
     288  this->weaponMan.setSlotPosition(1, Vector(0.0, 0, 3.0));
    280289  this->weaponMan.setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    281290
Note: See TracChangeset for help on using the changeset viewer.