Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10270 in orxonox.OLD for branches/playability/src/util/hud.h


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/util/hud.h

    r10233 r10270  
    4646
    4747  void setWeaponManager(WeaponManager* weaponMan, WeaponManager* weaponManSec = NULL);
     48  inline void setRadarCenterNode(PNode* node) {this->radarCenterNode = node;};
    4849
    4950  void addWeaponWidget(OrxGui::GLGuiWidget* widget);
     
    9091  OrxGui::GLGuiInputLine*  inputLine;
    9192  OrxGui::GLGuiRadar*      _radar;
     93  PNode*                   radarCenterNode;
    9294
    9395  OrxGui::GLGuiWidget*     rightRect;
Note: See TracChangeset for help on using the changeset viewer.