Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (17 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/creatures/fps_player.h

    r10566 r10698  
    3636    virtual void tick(float time);
    3737    virtual void draw() const;
     38   
     39    void displayHUDText( const std::string& message );
    3840
    3941
     
    4345    void init();
    4446
    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
    5256
    53     float                 xMouse;             //!< mouse moved in x-Direction
    54     float                 yMouse;             //!< mouse moved in y-Direction
     57    float                 xMouse;            //!< mouse moved in x-Direction
     58    float                 yMouse;            //!< mouse moved in y-Direction
    5559
    5660
    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
    5963
    60     PNode                 cameraNode;
     64    PNode                 cameraNode;        //!< the "eyes" of the player (or call it head if you want)
    6165
    62     float                 fallVelocity;        //!< velocity for falling down
    63     float                 jumpAcceleration;    //!< the jump acceleration
     66    float                 fallVelocity;      //!< velocity for falling down
     67    float                 jumpAcceleration;  //!< the jump acceleration
    6468
    6569    bool                  initWeapon;
     70    bool                  changeZoom;        //!< zoom sight of player
     71    bool                  inZoomMode;        //!< zoomsight
     72    bool                  changingZoom;
    6673
    67     AimingSystem*         aimingSystem;        //!< aiming system of the player
     74    AimingSystem*         aimingSystem;      //!< aiming system of the player
    6875
    69     float                 damageTicker;        //!< ticker for dealing damage
     76    float                 damageTicker;      //!< ticker for dealing damage
     77   
    7078};
    7179
Note: See TracChangeset for help on using the changeset viewer.