Changeset 10023 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Dec 6, 2006, 4:47:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10022 r10023 26 26 #include "weapons/medium_blaster.h" 27 27 #include "weapons/heavy_blaster.h" 28 #include "weapons/swarm_ missile.h"28 #include "weapons/swarm_launcher.h" 29 29 #include "weapons/boomerang_gun.h" 30 30 #include "weapons/turret.h" … … 154 154 wpLeft2->setName("Medium Blaster Left"); 155 155 156 Weapon* wpRight3 = new HeavyBlaster ();156 /* Weapon* wpRight3 = new HeavyBlaster (); 157 157 wpRight3->setName("Heavy Blaster Right"); 158 158 Weapon* wpLeft3 = new HeavyBlaster (); 159 wpLeft3->setName("Heavy Blaster Left"); 160 161 Weapon* cannon = new Swarm Missile();162 cannon->setName("Swarm Missile");159 wpLeft3->setName("Heavy Blaster Left");*/ 160 161 Weapon* cannon = new SwarmLauncher(); 162 cannon->setName("SwarmLauncher"); 163 163 164 164 … … 168 168 this->weaponMan.addWeapon( wpLeft2, 0, 2); 169 169 this->weaponMan.addWeapon( wpRight2, 0, 3); 170 this->weaponMan.addWeapon( wpLeft3, 0, 4);171 this->weaponMan.addWeapon( wpRight3, 0, 5); 172 173 this->secWeaponMan.addWeapon( cannon, 0, 0);170 /* this->weaponMan.addWeapon( wpLeft3, 0, 4); 171 this->weaponMan.addWeapon( wpRight3, 0, 5);*/ 172 173 this->secWeaponMan.addWeapon( cannon, 1, 0); 174 174 175 175 this->weaponMan.changeWeaponConfig(0); 176 this->secWeaponMan.changeWeaponConfig(1); 176 177 177 178 wpRight1->requestAction(WA_ACTIVATE); … … 179 180 wpRight2->requestAction(WA_ACTIVATE); 180 181 wpLeft2->requestAction(WA_ACTIVATE); 181 wpRight3->requestAction(WA_ACTIVATE);182 wpLeft3->requestAction(WA_ACTIVATE); 182 /* wpRight3->requestAction(WA_ACTIVATE); 183 wpLeft3->requestAction(WA_ACTIVATE);*/ 183 184 184 185 cannon->requestAction(WA_ACTIVATE); … … 369 370 registerVar( new SynchronizeableFloat( &cameraLook, &cameraLook, "cameraLook", PERMISSION_OWNER ) ); 370 371 registerVar( new SynchronizeableFloat( &rotation, &rotation, "rotation", PERMISSION_OWNER ) ); 372 registerVar( new SynchronizeableBool( &bFire, &bFire, "bSecFire", PERMISSION_OWNER)); 371 373 372 374 registerVar( new SynchronizeableVector( &velocity, &velocity, "velocity", PERMISSION_MASTER_SERVER ) );
Note: See TracChangeset
for help on using the changeset viewer.