Changeset 10698 in orxonox.OLD for trunk/src/world_entities/creatures/fps_player.h
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/fps_player.h
r10566 r10698 36 36 virtual void tick(float time); 37 37 virtual void draw() const; 38 39 void displayHUDText( const std::string& message ); 38 40 39 41 … … 43 45 void init(); 44 46 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 47 bool bLeft; //!< strafe left 48 bool bRight; //!< strafe right 49 bool bForward; //!< walk forward 50 bool bBackward; //!< walk backward 51 bool bJump; //!< jumping 52 bool bPosBut; //!< position button 53 bool bFire; //!< fire button 54 bool bFire2; //!< alternate fire button 55 bool bCrouch; //!< crouch button 52 56 53 float xMouse; 54 float yMouse; 57 float xMouse; //!< mouse moved in x-Direction 58 float yMouse; //!< mouse moved in y-Direction 55 59 56 60 57 float heading; 58 float attitude; 61 float heading; //!< the direction where the player heads to 62 float attitude; //!< defines the camera angle to the x-z-plane 59 63 60 PNode cameraNode; 64 PNode cameraNode; //!< the "eyes" of the player (or call it head if you want) 61 65 62 float fallVelocity; 63 float jumpAcceleration; 66 float fallVelocity; //!< velocity for falling down 67 float jumpAcceleration; //!< the jump acceleration 64 68 65 69 bool initWeapon; 70 bool changeZoom; //!< zoom sight of player 71 bool inZoomMode; //!< zoomsight 72 bool changingZoom; 66 73 67 AimingSystem* aimingSystem; 74 AimingSystem* aimingSystem; //!< aiming system of the player 68 75 69 float damageTicker; //!< ticker for dealing damage 76 float damageTicker; //!< ticker for dealing damage 77 70 78 }; 71 79
Note: See TracChangeset
for help on using the changeset viewer.