Changeset 10017 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.h
- Timestamp:
- Dec 5, 2006, 7:14:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.h
r9975 r10017 35 35 void setTravelDistance(float x, float y); 36 36 37 void setAirFriction(float friction) { this->airFriction = friction; };37 //void setAirFriction(float friction) { this->airFriction = friction; }; 38 38 39 39 virtual void enter(); … … 121 121 int curWeaponSecondary; //!< current secondary weapon config 122 122 123 bool b Up; //!< up button pressed.124 bool b Down; //!< down button pressed.123 bool bForward; //!< up button pressed. 124 bool bBackward; //!< down button pressed. 125 125 bool bLeft; //!< left button pressed. 126 126 bool bRight; //!< right button pressed. … … 131 131 bool bRollR; //!< rolling button pressed (right) 132 132 133 /* 133 134 float xMouse; //!< mouse moved in x-Direction 134 135 float yMouse; //!< mouse moved in y-Direction … … 137 138 int controlVelocityX; 138 139 int controlVelocityY; 139 // float cycle; //!< hovercycle 140 */ 141 // float cycle; //!< hovercycle 142 140 143 141 144 Vector velocity; //!< the velocity of the player. 142 Vector oldVelocity; //!< the velocity the player had last synced 145 //Vector oldVelocity; //!< the velocity the player had last synced 146 147 143 148 144 149 // 2D-traveling 145 150 PNode* travelNode; 146 151 float travelSpeed; //!< the current speed of the Ship (to make soft movement) 152 Vector2D travelDistance; //!< Travel-Distance away from the TravelNode 147 153 148 154 // Camera … … 150 156 float cameraLook; 151 157 float rotation; 158 float cameraSpeed; 152 159 153 / / FIXME until other fixme removal needed160 /* 154 161 Quaternion mouseDir; //!< the direction where the player wants to fly 155 162 Quaternion oldMouseDir; //!< the direction where the player wanted to fly 156 163 float shipInertia; //!< the inertia of the ship(how fast the ship reacts to a mouse input) 157 158 164 Quaternion rotQuat; 159 165 Quaternion pitchDir; 160 166 float dogdeSpeed; //!< the dogde Speed of the ship. 161 // FIXME167 */ 162 168 163 169 Quaternion direction; //!< the direction of the ship. 164 170 float acceleration; //!< the acceleration of the ship. 165 float airFriction; //!< AirFriction.166 float airViscosity;171 //float airFriction; //!< AirFriction. 172 //float airViscosity; 167 173 168 174 byte oldMask; //!< used for synchronisation
Note: See TracChangeset
for help on using the changeset viewer.