Changeset 9703 in orxonox.OLD for branches/new_class_id/src/util/hud.cc
- Timestamp:
- Aug 25, 2006, 12:11:45 PM (19 years ago)
- File:
- 
          - 1 edited
 
 - 
          branches/new_class_id/src/util/hud.cc (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        branches/new_class_id/src/util/hud.ccr9406 r9703 34 34 #include "playable.h" 35 35 36 NewObjectListDefinition(Hud); 36 37 /** 37 38 * standard constructor … … 40 41 Hud::Hud () 41 42 { 42 this-> setClassID(CL_HUD, "Hud");43 this->registerObject(this, Hud::_objectList); 43 44 44 45 //this->setSize2D( … … 186 187 printf("UPDATING RADAR\n"); 187 188 this->_radar->setCenterNode(State::getPlayer()->getPlayable()); 188 this->_radar->addEntityList(&State::getObjectManager()->get ObjectList((OM_LIST)(State::getPlayer()->getPlayable()->getOMListNumber()+1)), Color(.4, .4, 1.0));189 this->_radar->addEntityList(&State::getObjectManager()->get ObjectList(OM_GROUP_02), Color(1.0, .2, .2));189 this->_radar->addEntityList(&State::getObjectManager()->getEntityList((OM_LIST)(State::getPlayer()->getPlayable()->getOMListNumber()+1)), Color(.4, .4, 1.0)); 190 this->_radar->addEntityList(&State::getObjectManager()->getEntityList(OM_GROUP_02), Color(1.0, .2, .2)); 190 191 this->_radar->setAbsCoor2D(0.8 * this->resX, 0.01 * this->resY); 191 192 this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY); 
Note: See TracChangeset
          for help on using the changeset viewer.
      


 
            







