Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2009, 1:18:36 PM (14 years ago)
Author:
rgrieder
Message:

Found some non empty new lines.

Location:
code/branches/presentation2/src/orxonox/controllers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/ArtificialController.cc

    r6164 r6387  
    4646        this->bHasTargetPosition_ = false;
    4747        this->targetPosition_ = Vector3::ZERO;
    48        
     48
    4949        this->target_.setCallback(createFunctor(&ArtificialController::targetDied, this));
    5050    }
     
    143143        this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getPosition(), hardcoded_projectile_speed, this->target_->getPosition(), this->target_->getVelocity());
    144144        this->bHasTargetPosition_ = (this->targetPosition_ != Vector3::ZERO);
    145        
     145
    146146        Pawn* pawn = dynamic_cast<Pawn*>(this->getControllableEntity());
    147147        if (pawn)
  • code/branches/presentation2/src/orxonox/controllers/ArtificialController.h

    r5929 r6387  
    4242            ArtificialController(BaseObject* creator);
    4343            virtual ~ArtificialController();
    44            
     44
    4545            void abandonTarget(Pawn* target);
    4646
  • code/branches/presentation2/src/orxonox/controllers/Controller.h

    r6356 r6387  
    5151
    5252            virtual inline void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) {};
    53            
     53
    5454            void setGodMode( bool mode ){ this->bGodMode_ = mode; }
    5555            bool getGodMode(){ return this->bGodMode_; }
  • code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc

    r6377 r6387  
    140140                arrowsOverlay1_->setPosition(Vector2(0.5, 0.5));
    141141                arrowsOverlay1_->hide();
    142    
     142
    143143                arrowsOverlay2_ = new OrxonoxOverlay(this);
    144144                arrowsOverlay2_->setBackgroundMaterial("Orxonox/DirectionArrows2");
     
    147147                arrowsOverlay2_->setPosition(Vector2(0.5, 0.5));
    148148                arrowsOverlay2_->hide();
    149    
     149
    150150                arrowsOverlay3_ = new OrxonoxOverlay(this);
    151151                arrowsOverlay3_->setBackgroundMaterial("Orxonox/DirectionArrows3");
     
    154154                arrowsOverlay3_->setPosition(Vector2(0.5, 0.5));
    155155                arrowsOverlay3_->hide();
    156    
     156
    157157                arrowsOverlay4_ = new OrxonoxOverlay(this);
    158158                arrowsOverlay4_->setBackgroundMaterial("Orxonox/DirectionArrows4");
     
    502502        {
    503503            hideArrows();
    504    
     504
    505505            float distance = sqrt(pow(static_cast<float>(this->currentYaw_)/2*-1,2) + pow(static_cast<float>(this->currentPitch_)/2*-1,2));
    506    
     506
    507507            if (distance > 0.04 && distance <= 0.59 * arrowsSize_ / 2.0 )
    508508            {
Note: See TracChangeset for help on using the changeset viewer.