Changeset 10714 in orxonox.OLD for branches/presentation/src/world_entities/weapons
- Timestamp:
- Jun 18, 2007, 3:19:15 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/weapons
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/crosshair.cc
r10317 r10714 115 115 if (event.type == EV_MOUSE_MOTION) 116 116 { 117 //this->setAbsCoor2D(event.x, event.y); 117 printf("Processing Crosshair Mouse Event\n"); 118 this->setAbsCoor2D(event.x, event.y); 118 119 } 119 120 } -
branches/presentation/src/world_entities/weapons/rf_cannon.cc
r10702 r10714 138 138 139 139 pj->setAbsCoor(this->emissionPoint[this->activeBarrel]->getAbsCoor()); 140 pj->setAbsDir(this->getAbsDir()); 140 // pj->setAbsDir(this->getAbsDir()); 141 // pj->setAbsDir(Quaternion(0, dynamic_cast<WeaponManager*>(this->getParent())->getFixedTarget()->getAbsCoor() - this->getParent()->getAbsCoor())); 141 142 pj->activate(); 142 143 -
branches/presentation/src/world_entities/weapons/weapon_manager.cc
r10698 r10714 630 630 } 631 631 632 632 /** 633 * processes the input 634 * @param event the Event coming as input 635 */ 636 // void WeaponManager::process(const Event &event) 637 // { 638 // if (event.type == EV_MOUSE_MOTION) 639 // { 640 // this->crosshair->process(event); 641 // // this->setAbsCoor2D(event.x, event.y); 642 // } 643 // } -
branches/presentation/src/world_entities/weapons/weapon_manager.h
r10698 r10714 55 55 void hideCrosshair(); 56 56 void setRotationSpeed(float speed); 57 // Crosshair* getCrosshair() {return this->crosshair; }; 58 59 // virtual void process(const Event &event); 57 60 58 61 void setSlotCount(unsigned int slotCount);
Note: See TracChangeset
for help on using the changeset viewer.