Changeset 7126 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 13, 2006, 1:14:53 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/water.cc
r7125 r7126 63 63 Water::~Water() 64 64 { 65 delete this->grid;66 65 } 67 66 -
trunk/src/world_entities/space_ships/turbine_hover.cc
r7125 r7126 80 80 Weapon* wpLeft = new TestGun(1); 81 81 wpLeft->setName("testGun Left"); 82 Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));83 84 cannon->setName("BFG");82 //Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER)); 83 84 // cannon->setName("BFG"); 85 85 86 86 this->addWeapon(wpLeft, 1, 0); 87 87 this->addWeapon(wpRight,1 ,1); 88 this->addWeapon(cannon, 0, 2);88 //this->addWeapon(cannon, 0, 2); 89 89 90 90 this->getWeaponManager()->changeWeaponConfig(1); -
trunk/src/world_entities/weapons/weapon.cc
r7102 r7126 29 29 #include "state.h" 30 30 #include "animation3d.h" 31 #include "vector.h"32 31 33 32 #include "sound_source.h" … … 86 85 this->soundSource = new SoundSource(this); //< Every Weapon has exacty one SoundSource. 87 86 this->emissionPoint.setParent(this); //< One EmissionPoint, that is a PNode connected to the weapon. You can set this to the exitting point of the Projectiles 87 this->emissionPoint.setName("EmissionPoint"); 88 this->emissionPoint.addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT); 88 89 89 90 this->defaultTarget = NULL; //< Nothing is Targeted by default.
Note: See TracChangeset
for help on using the changeset viewer.