Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2006, 7:07:24 PM (19 years ago)
Author:
muellmic
Message:

changed roll- handling at left/right translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/space_ships/space_ship.h

    r10030 r10032  
    7272
    7373    virtual void enterPlaymode(Playable::Playmode playmode);
     74    void setPlaymodeXML(const std::string& playmode);
    7475    virtual void movement (float dt);
    7576
     
    7778    void init();
    7879
    79     void calculateVelocity(float time);
     80    //void calculateVelocity(float time);
    8081
    8182    void regen(float time);  //!< handler for shield and electronic regeneration
     
    131132    bool                  bAscend;            //!< ascend button pressed.
    132133    bool                  bDescend;           //!< descend button presses.
    133 //    bool                  bFire;              //!< fire button pressed.(moved to playable)
    134134    bool                  bRollL;             //!< rolling button pressed (left)
    135135    bool                  bRollR;             //!< rolling button pressed (right)
     
    144144    int                   controlVelocityY;
    145145    */
    146 //   float                 cycle;              //!< hovercycle
    147146
    148 
    149     Vector                velocity;           //!< the velocity of the player.
    150     //Vector                oldVelocity;        //!< the velocity the player had last synced
    151 
    152 
     147Vector                velocity;           //!< the velocity of the player.
    153148
    154149// 2D-traveling
     
    173168    */
    174169
    175     Quaternion            direction;          //!< the direction of the ship.
     170    //Quaternion            direction;          //!< the direction of the ship.
    176171    float                 acceleration;       //!< the acceleration of the ship.
    177172    //float                 airFriction;        //!< AirFriction.
Note: See TracChangeset for help on using the changeset viewer.