Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11029


Ignore:
Timestamp:
Jan 3, 2016, 8:49:23 PM (8 years ago)
Author:
landauf
Message:

fixed compiler errors (MSVC): StaticEntity has no tick() function + two other errors in FlagHUD and ExplosionPart

Location:
code/branches/presentationHS15/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/FlagHUD.h

    r11026 r11029  
    4343namespace orxonox
    4444{
    45     class _OverlaysExport FlagHUD : public OrxonoxOverlay , public Tickable
     45    class _HoverExport FlagHUD : public OrxonoxOverlay , public Tickable
    4646    {
    4747    public:
  • code/branches/presentationHS15/src/modules/hover/HoverFlag.cc

    r11026 r11029  
    106106    }
    107107
    108 
    109 
    110 
    111     /**
    112     @brief
    113         Is called every tick.
    114     @param dt
    115         The time since the last tick.
    116     */
    117     void HoverFlag::tick(float dt)
    118     {
    119         SUPER(HoverFlag, tick, dt);
    120        
    121     }
    122 
    123108    /**
    124109    @brief
  • code/branches/presentationHS15/src/modules/hover/HoverFlag.h

    r11026 r11029  
    5252            virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint);           
    5353            virtual ~HoverFlag();
    54             virtual void tick(float dt);
    5554            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5655            bool getCollided();
  • code/branches/presentationHS15/src/modules/hover/HoverWall.cc

    r11026 r11029  
    117117        SUPER(HoverWall, XMLPort, xmlelement, mode);
    118118    }
    119 
    120     /**
    121     @brief
    122         Is called every tick.
    123         Handles the movement of the ball and its interaction with the boundaries and bats.
    124     @param dt
    125         The time since the last tick.
    126     */
    127     void HoverWall::tick(float dt)
    128     {
    129         SUPER(HoverWall, tick, dt);
    130        
    131     }
    132 
    133    
    134119}
  • code/branches/presentationHS15/src/modules/hover/HoverWall.h

    r11026 r11029  
    5151            HoverWall(Context* context, int x, int y, int orientation);
    5252            virtual ~HoverWall();
    53             virtual void tick(float dt);
    5453            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5554
  • code/branches/presentationHS15/src/orxonox/worldentities/ExplosionPart.cc

    r11026 r11029  
    145145        direction_.normalise();
    146146
    147         Vector3 finalDirection = direction_ + sin((rnd(0, angle_))*M_PI/180)*velocityOffset;
     147        Vector3 finalDirection = direction_ + sin((rnd(0, angle_))*math::pi/180)*velocityOffset;
    148148
    149149        this->explosionEntity_->setVelocity(finalDirection*rnd(minSpeed_,maxSpeed_));
Note: See TracChangeset for help on using the changeset viewer.