Changeset 10647 in orxonox.OLD for branches/hud/src/world_entities/creatures/fps_player.h
- Timestamp:
- May 3, 2007, 4:54:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hud/src/world_entities/creatures/fps_player.h
r10566 r10647 43 43 void init(); 44 44 45 bool bLeft; 46 bool bRight; 47 bool bForward; 48 bool bBackward; 49 bool bJump; //!< jumping 50 bool bPosBut; //!< position button 51 bool bFire; //!< fire button 45 bool bLeft; //!< strafe left 46 bool bRight; //!< strafe right 47 bool bForward; //!< walk forward 48 bool bBackward; //!< walk backward 49 bool bJump; //!< jumping 50 bool bPosBut; //!< position button 51 bool bFire; //!< fire button 52 bool bCrouch; //!< crouch button 52 53 53 float xMouse; 54 float yMouse; 54 float xMouse; //!< mouse moved in x-Direction 55 float yMouse; //!< mouse moved in y-Direction 55 56 56 57 57 float heading; 58 float attitude; 58 float heading; //!< the direction where the player heads to 59 float attitude; //!< defines the camera angle to the x-z-plane 59 60 60 PNode cameraNode; 61 PNode cameraNode; //!< the "eyes" of the player (or call it head if you want) 61 62 62 float fallVelocity; 63 float jumpAcceleration; 63 float fallVelocity; //!< velocity for falling down 64 float jumpAcceleration; //!< the jump acceleration 64 65 65 66 bool initWeapon; 66 67 67 AimingSystem* aimingSystem; 68 AimingSystem* aimingSystem; //!< aiming system of the player 68 69 69 float damageTicker; //!< ticker for dealing damage 70 float damageTicker; //!< ticker for dealing damage 71 70 72 }; 71 73
Note: See TracChangeset
for help on using the changeset viewer.