Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 5:52:08 PM (17 years ago)
Author:
muellmic
Message:

1) the centerpoint of the radar is now the centerpoint of the camera, so the enemies won't move in the radar when the player is moving; 2)fovy and cameradistance of each viewmode can now be set dynamically. so one would't have to readjust the fovy for each viewmode, when it has been manually changed once. (it's better to just change the fovy or distance for the viewmode where you need it); 3)unlike in the last revision, it doesnt have a soft- zoom- effect when setting a fovy anymore.

File:
1 edited

Legend:

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

    r10261 r10270  
    7171    inline float getElectronicCur() { return this->electronicCur; }; //!< returns current electronic value
    7272    inline float getElectronicMax() { return this->electronicMax; }; //!< returns current electronic value
     73
     74    inline PNode* getTravelNode() { return this->travelNode; };
    7375
    7476    //damage handler
     
    179181    float                 cameraSpeed;
    180182
     183    void                  setCameraDistance(float dist);
     184    void                  setCameraFovy(float fovy);
     185
    181186    /*
    182187    Quaternion            mouseDir;           //!< the direction where the player wants to fly
Note: See TracChangeset for help on using the changeset viewer.