Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9001 in orxonox.OLD


Ignore:
Timestamp:
Jul 2, 2006, 6:57:09 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: The Radar is now displayed with the radar-pic (maps/gui_radar.png)

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/hud.cc

    r9000 r9001  
    186186    this->_radar->setCenterNode(State::getPlayer()->getPlayable());
    187187    this->_radar->addEntityList(&State::getObjectManager()->getObjectList((OM_LIST)(State::getPlayer()->getPlayable()->getOMListNumber()+1)), Color(.4, .4, 1.0));
    188     this->_radar->setAbsCoor2D(0.8 * this->resX, 0.1 * this->resY);
     188    this->_radar->setAbsCoor2D(0.8 * this->resX, 0.01 * this->resY);
    189189    this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY);
    190190    this->_radar->show();
  • trunk/src/world_entities/elements/glgui_radar.cc

    r9000 r9001  
    4040  void GLGuiRadar::init()
    4141  {
     42    this->setBackgroundTexture("gui_radar.png");
     43
    4244    this->_updateInterval = 1.0f;
    4345    this->_timePassed = 0.0f;
Note: See TracChangeset for help on using the changeset viewer.