Changeset 10834 for code/branches/campaignHS15/src/orxonox
- Timestamp:
- Nov 23, 2015, 1:24:51 PM (10 years ago)
- Location:
- code/branches/campaignHS15
- Files:
-
- 4 edited
- 10 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15
-
code/branches/campaignHS15/src/orxonox/controllers/CMakeLists.txt
r10216 r10834 11 11 FormationController.cc 12 12 ControllerDirector.cc 13 DivisionController.cc 14 LeaderController.cc 15 WingmanController.cc 16 SectionController.cc 17 CommonController.cc 13 18 ) -
code/branches/campaignHS15/src/orxonox/controllers/FormationController.cc
r10631 r10834 277 277 } 278 278 279 Vector2 coord = get2DView coordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);279 Vector2 coord = get2DViewCoordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target); 280 280 float distance = (target - this->getControllableEntity()->getPosition()).length(); 281 281 float rotateX = clamp(coord.x * 10, -1.0f, 1.0f); … … 1069 1069 return; 1070 1070 1071 Vector2 coord = get2DView coordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);1071 Vector2 coord = get2DViewCoordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target); 1072 1072 float distance = (target - this->getControllableEntity()->getPosition()).length(); 1073 1073 -
code/branches/campaignHS15/src/orxonox/worldentities/pawns/Pawn.cc
r10624 r10834 299 299 } 300 300 301 302 301 void Pawn::kill() 303 302 { … … 319 318 } 320 319 } 321 322 320 323 321 void Pawn::death() … … 472 470 } 473 471 472 /** 473 @brief 474 Check whether the Pawn has a @ref Orxonox::WeaponSystem and fire it with the specified firemode if it has one. 475 */ 474 476 void Pawn::fired(unsigned int firemode) 475 477 {
Note: See TracChangeset
for help on using the changeset viewer.