Changeset 10970 for code/branches/presentationHS15/src/orxonox/controllers
- Timestamp:
- Dec 11, 2015, 3:26:20 PM (10 years ago)
- Location:
- code/branches/presentationHS15
- Files:
- 
          - 3 edited
- 16 copied
 
 - 
          . (modified) (1 prop)
- 
          src/orxonox/controllers/ActionpointController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.cc)
- 
          src/orxonox/controllers/ActionpointController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.h)
- 
          src/orxonox/controllers/CMakeLists.txt (modified) (1 diff)
- 
          src/orxonox/controllers/CommonController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/CommonController.cc)
- 
          src/orxonox/controllers/CommonController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/CommonController.h)
- 
          src/orxonox/controllers/DivisionController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/DivisionController.cc)
- 
          src/orxonox/controllers/DivisionController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/DivisionController.h)
- 
          src/orxonox/controllers/FightingController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/FightingController.cc)
- 
          src/orxonox/controllers/FightingController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/FightingController.h)
- 
          src/orxonox/controllers/FlyingController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/FlyingController.cc)
- 
          src/orxonox/controllers/FlyingController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/FlyingController.h)
- 
          src/orxonox/controllers/FormationController.cc (modified) (4 diffs)
- 
          src/orxonox/controllers/MasterController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/MasterController.cc)
- 
          src/orxonox/controllers/MasterController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/MasterController.h)
- 
          src/orxonox/controllers/SectionController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc)
- 
          src/orxonox/controllers/SectionController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/SectionController.h)
- 
          src/orxonox/controllers/WingmanController.cc (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/WingmanController.cc)
- 
          src/orxonox/controllers/WingmanController.h (copied) (copied from code/branches/campaignHS15/src/orxonox/controllers/WingmanController.h)
 
Legend:
- Unmodified
- Added
- Removed
- 
        code/branches/presentationHS15- Property svn:mergeinfo changed
 
- 
        code/branches/presentationHS15/src/orxonox/controllers/CMakeLists.txtr10216 r10970 11 11 FormationController.cc 12 12 ControllerDirector.cc 13 DivisionController.cc 14 WingmanController.cc 15 SectionController.cc 16 CommonController.cc 17 ActionpointController.cc 18 FlyingController.cc 19 FightingController.cc 20 MasterController.cc 13 21 ) 
- 
        code/branches/presentationHS15/src/orxonox/controllers/FormationController.ccr10631 r10970 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); … … 970 970 if (controller) 971 971 { 972 if (controller->getIdentifier()->getName() == "MasterController") 973 return true; 972 974 FormationController* ac = orxonox_cast<FormationController*>(controller); 973 975 if (ac) … … 981 983 if (controller) 982 984 { 985 if (controller->getIdentifier()->getName() == "MasterController") 986 return true; 983 987 FormationController* ac = orxonox_cast<FormationController*>(controller); 984 988 if (ac) … … 1069 1073 return; 1070 1074 1071 Vector2 coord = get2DView coordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target);1075 Vector2 coord = get2DViewCoordinates(this->getControllableEntity()->getPosition(), this->getControllableEntity()->getOrientation() * WorldEntity::FRONT, this->getControllableEntity()->getOrientation() * WorldEntity::UP, target); 1072 1076 float distance = (target - this->getControllableEntity()->getPosition()).length(); 1073 1077 
Note: See TracChangeset
          for help on using the changeset viewer.
      


 
            







