Changeset 4969 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Aug 4, 2005, 11:19:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4967 r4969 87 87 88 88 Weapon* turret = new Turret(this->weaponMan); 89 Weapon* turret2 = new Turret(this->weaponMan); 89 90 this->weaponMan->addWeapon(wpLeft, 1, 0); 90 91 this->weaponMan->addWeapon(wpRight,1 ,1); 91 92 this->weaponMan->addWeapon(turret, 2, 2); 92 this->weaponMan->addWeapon(turret , 3, 2);93 this->weaponMan->addWeapon(turret2, 2, 3); 93 94 this->weaponMan->addWeapon(wpLeft, 3, 0); 94 95 this->weaponMan->addWeapon(wpRight,3 ,1); … … 113 114 114 115 this->weaponMan = new WeaponManager(this); 115 this->weaponMan->setSlotCount( 3);116 this->weaponMan->setSlotCount(4); 116 117 this->weaponMan->setSlotPosition(0, Vector(-2.6, .1, -3.0)); 117 118 this->weaponMan->setSlotPosition(1, Vector(-2.6, .1, 3.0)); 118 this->weaponMan->setSlotPosition(2, Vector(-1.5, .5, 0)); 119 this->weaponMan->setSlotPosition(2, Vector(-1.5, .5, -.5)); 120 this->weaponMan->setSlotDirection(2, Quaternion(-M_PI_4*.5, Vector(1,0,0))); 121 this->weaponMan->setSlotPosition(3, Vector(-1.5, .5, .5)); 122 this->weaponMan->setSlotDirection(3, Quaternion(M_PI_4*.5, Vector(1,0,0))); 119 123 } 120 124
Note: See TracChangeset
for help on using the changeset viewer.