Changeset 6805 in orxonox.OLD for trunk/src/world_entities/space_ships/hover.h
- Timestamp:
- Jan 28, 2006, 12:20:58 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/hover.h
r6803 r6805 35 35 private: 36 36 void init(); 37 void movement(float time); 37 38 38 39 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. 44 42 bool bLeft; //!< left button pressed. 45 43 bool bRight; //!< right button pressed. 46 44 bool bAscend; //!< ascend button pressed. 47 45 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)51 46 52 47 float xMouse; //!< mouse moved in x-Direction … … 65 60 PNode cameraNode; 66 61 67 Vector velocity; //!< the velocity of the player.68 Vector velocityDir; //!< the direction of the velocity of the spaceship69 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. 71 66 //float rotorspeed; //!< the speed of the rotor. 72 67 //float tailrotorspeed; //!< the relativ speed ot the tail rotor
Note: See TracChangeset
for help on using the changeset viewer.