Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6805 in orxonox.OLD for trunk/src/world_entities/space_ships/hover.h


Ignore:
Timestamp:
Jan 28, 2006, 12:20:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: hover works as it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/hover.h

    r6803 r6805  
    3535  private:
    3636    void init();
     37    void movement(float time);
    3738
    3839  private:
    39     void calculateVelocity(float time);
    40     void weaponAction();
    41 
    42     bool                  bUp;                //!< up button pressed.
    43     bool                  bDown;              //!< down button pressed.
     40    bool                  bForward;           //!< forward button pressed.
     41    bool                  bBackward;          //!< backward button pressed.
    4442    bool                  bLeft;              //!< left button pressed.
    4543    bool                  bRight;             //!< right button pressed.
    4644    bool                  bAscend;            //!< ascend button pressed.
    4745    bool                  bDescend;           //!< descend button presses.
    48     bool                  bFire;              //!< fire button pressed.
    49     bool                  bRollL;             //!< rolling button pressed (left)
    50     bool                  bRollR;             //!< rolling button pressed (right)
    5146
    5247    float                 xMouse;             //!< mouse moved in x-Direction
     
    6560    PNode                 cameraNode;
    6661
    67     Vector                velocity;           //!< the velocity of the player.
    68     Vector                velocityDir;        //!< the direction of the velocity of the spaceship
    69     float                 travelSpeed;        //!< the current speed of the player (to make soft movement)
    70     float                 acceleration;       //!< the acceleration of the player.
     62    Vector                velocity;           //!< the velocity of the Hover.
     63    Quaternion            direction;          //!< the direction of the Hover.
     64    float                 travelSpeed;        //!< the current speed of the Hove (to make soft movement)
     65    float                 acceleration;       //!< the acceleration of the Hover.
    7166    //float                 rotorspeed;         //!< the speed of the rotor.
    7267    //float                 tailrotorspeed;     //!< the relativ speed ot the tail rotor
Note: See TracChangeset for help on using the changeset viewer.