- Timestamp:
- Jan 30, 2007, 5:26:27 PM (18 years ago)
- Location:
- branches/playability/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/util/hud.cc
r10449 r10506 515 515 pos.x -= ySize; 516 516 //PRINTF(0)("secweaponwidget y-size: %f/n", (*weaponWidget)->getSizeY2D()); 517 (*weaponWidget)->setAbsCoor2D(pos.x +this->rightRect->getAbsCoor2D().x, pos.y);517 (*weaponWidget)->setAbsCoor2D(pos.x, pos.y);//+this->rightRect->getAbsCoor2D().x, pos.y); 518 518 (*weaponWidget)->show(); 519 519 //printf("update thing %s::%s\n", (*weaponWidget)->getClassCName(), (*weaponWidget)->getName()); -
branches/playability/src/world_entities/player.cc
r10368 r10506 100 100 //this->_hud.updateWeaponManager(); 101 101 102 if (dynamic_cast<SpaceShip*>(this->playable) != 0)103 104 105 102 if (dynamic_cast<SpaceShip*>(this->playable) != NULL) 103 this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary()); 104 else 105 this->_hud.setWeaponManager(&this->playable->getWeaponManager()); 106 106 } 107 107
Note: See TracChangeset
for help on using the changeset viewer.