Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2007, 8:12:01 AM (16 years ago)
Author:
landauf
Message:

good morning everybody!
did some changes in the steering of SpaceShip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/SpaceShip.h

    r644 r647  
    1919            ~SpaceShip();
    2020            virtual void loadParams(TiXmlElement* xmlElem);
    21             void setMaxSpeedValues(float maxSpeedForward, float maxSpeedRotateUpDown, float maxSpeedRotateRightLeft, float maxSpeedLoopRightLeft);
    2221            virtual void tick(float dt);
     22/*
    2323            void moveForward(float moveForward);
    2424            void rotateUp(float rotateUp);
     
    3535            void maxSpeedRotateRightLeft(float maxSpeedRotateRightLeft);
    3636            void maxSpeedLoopRightLeft(float maxSpeedLoopRightLeft);
     37*/
    3738            bool mouseMoved(const OIS::MouseEvent &e);
    3839            bool mousePressed(const OIS::MouseEvent &e, OIS::MouseButtonID id);
     
    4142
    4243        private:
    43             bool bInvertMouse_;
     44            bool bInvertYAxis_;
    4445            bool setMouseEventCallback_;
    4546            bool bLMousePressed_;
     
    4849            Ogre::SceneNode* camNode_;
    4950
    50             particle::ParticleInterface *tt_;
     51            particle::ParticleInterface* tt_;
    5152
    5253            BillboardSet redBillboard_;
     
    5960            float reloadTime_;
    6061
     62            float maxSideAndBackSpeed_;
     63            float maxSpeed_;
     64            float maxRotation_;
     65            float translationAcceleration_;
     66            float rotationAcceleration_;
     67            float translationDamping_;
     68            float rotationDamping_;
     69
     70            Radian maxRotationRadian_;
     71            Radian rotationAccelerationRadian_;
     72            Radian rotationDampingRadian_;
     73            Radian zeroRadian_;
     74            Radian mouseXRotation_;
     75            Radian mouseYRotation_;
     76
     77            float mouseX_;
     78            float mouseY_;
     79
     80/*
    6181            float moveForward_;
    6282            float rotateUp_;
     
    93113            float minMouseX;
    94114            bool moved;
    95 
     115*/
    96116            int emitterRate_;
    97117    };
Note: See TracChangeset for help on using the changeset viewer.