Changeset 10692 for code/branches/fabienHS15/src
- Timestamp:
- Oct 25, 2015, 7:09:11 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/pickup/PickupRepresentation.cc
r9667 r10692 187 187 Billboard* icon = new Billboard(spawner->getContext()); 188 188 icon->setColour(ColourValue(0.89f, 0.79f, 0.08f)); 189 icon->setMaterial(" asterisk");189 icon->setMaterial("Unknown"); 190 190 icon->setScale(0.5); 191 191 sphere->attach(icon); -
code/branches/fabienHS15/src/modules/pickup/items/CMakeLists.txt
r9348 r10692 8 8 ShrinkPickup.cc 9 9 DamageBoostPickup.cc 10 MunitionPickup.cc 10 11 ) -
code/branches/fabienHS15/src/modules/pickup/items/DronePickup.h
r9667 r10692 43 43 #include "tools/interfaces/Tickable.h" 44 44 45 namespace orxonox { 45 namespace orxonox 46 { 46 47 47 48 /** … … 80 81 std::string droneTemplate_; //!< The name of the template, based upon which the Drone is created. 81 82 Pawn* carrierToPawnHelper(void); //!< Helper to transform the PickupCarrier to a Pawn, and throw an error message if the conversion fails. 82 83 84 85 83 }; 86 84 } -
code/branches/fabienHS15/src/orxonox/worldentities/pawns/Pawn.cc
r10688 r10692 560 560 else 561 561 return 0; 562 } 562 } 563 564 Munition* Pawn::getMunition(SubclassIdentifier<Munition> * identifier) 565 { 566 if (weaponSystem_) 567 { 568 return weaponSystem_->getMunition(identifier); 569 } 570 571 return NULL; 572 } 563 573 564 574 //Tell the Map (RadarViewable), if this is a playership -
code/branches/fabienHS15/src/orxonox/worldentities/pawns/Pawn.h
r10688 r10692 155 155 WeaponPack * getWeaponPack(unsigned int index) const; 156 156 std::vector<WeaponPack *> * getAllWeaponPacks(); 157 158 Munition * getMunition(SubclassIdentifier<Munition> * identifier); 157 159 158 160 virtual void addedWeaponPack(WeaponPack* wPack) {}
Note: See TracChangeset
for help on using the changeset viewer.