Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 1:57:44 AM (19 years ago)
Author:
bensch
Message:

some valgrind bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/space_ships/spacecraft_2d.h

    r9074 r9087  
    2222
    2323    virtual void loadParams(const TiXmlElement* root);
     24
     25    void setTravelSpeed(float travelSpeed);
     26    void setTravelHeight(float travelHeight);
     27
     28
    2429    virtual void setPlayDirection(const Quaternion& rot, float speed = 0.0f);
    2530    virtual void enter();
    2631    virtual void leave();
     32
    2733
    2834    virtual void postSpawn();
     
    5157    float                 mouseSensitivity;   //!< the mouse sensitivity
    5258
     59    /// Normal Movement.
     60    Quaternion            direction;          //!< the direction of the Spacecraft2D.
     61    float                 acceleration;       //!< the acceleration of the Spacecraft2D.
     62    float                 airFriction;        //!< AirFriction.
    5363
     64    float                 airViscosity;
     65
     66
     67    /// 2D-traveling
    5468    PNode*                travelNode;
     69    float                 travelHeight;
     70    float*                toTravelHeight;
     71    float                 travelSpeed;        //!< the current speed of the Hove (to make soft movement)
    5572
     73    /// Camera
    5674    PNode                 cameraNode;
    5775    float                 cameraLook;
    5876    float                 rotation;
    5977
    60    // Vector                velocity;           //!< the velocity of the Spacecraft2D.
    61     Quaternion            direction;          //!< the direction of the Spacecraft2D.
    62     float                 travelSpeed;        //!< the current speed of the Hove (to make soft movement)
    63     float                 acceleration;       //!< the acceleration of the Spacecraft2D.
    64     float                 airFriction;        //!< AirFriction.
    65 
    66     float                 airViscosity;
    6778
    6879    ParticleEmitter*      burstEmitter;
Note: See TracChangeset for help on using the changeset viewer.