Changeset 10092 in orxonox.OLD for branches/playability/src/util
- Timestamp:
- Dec 18, 2006, 8:39:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/util/hud.cc
r10042 r10092 105 105 { 106 106 this->energyWidget->show(); 107 this->energyWidget->setBackgroundTexture( "hud_energy_background.png"); 107 //this->energyWidget->setBackgroundTexture( "hud_energy_background.png"); 108 this->energyWidget->shiftDir2D(270); 108 109 /* this->energyWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png"); 109 110 this->energyWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/ … … 219 220 PRINTF(4)("UPDATING RADAR\n"); 220 221 this->_radar->setCenterNode(State::getPlayer()->getPlayable()); 221 this->_radar->addEntityList(&State::getObjectManager()->getEntityList((OM_LIST)(State::getPlayer()->getPlayable()->getOMListNumber()+1)), Color(.4, .4, 1.0)); 222 this->_radar->addEntityList(&State::getObjectManager()->getEntityList(OM_GROUP_02), Color(1.0, .2, .2)); 222 //this->_radar->addEntityList(&State::getObjectManager()->getEntityList((OM_LIST)(State::getPlayer()->getPlayable()->getOMListNumber()+1)), Color(.4, .4, 1.0)); 223 this->_radar->addEntityList(&State::getObjectManager()->getEntityList(OM_GROUP_00), Color(1, 0, 0)); 224 this->_radar->addEntityList(&State::getObjectManager()->getEntityList(OM_GROUP_01), Color(0, 0, 1)); 223 225 this->_radar->setAbsCoor2D(0.8 * this->resX, 0.01 * this->resY); 224 226 this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY); … … 230 232 if (this->energyWidget != NULL) 231 233 { 232 this->energyWidget->setAbsCoor2D(0. 0* this->resX, 0.85 * this->resY);234 this->energyWidget->setAbsCoor2D(0.2 * this->resX, 0.85 * this->resY); 233 235 this->energyWidget->setWidgetSize(.25 * this->resX, 0.1 * this->resY); 234 236 }
Note: See TracChangeset
for help on using the changeset viewer.