Changeset 588 for code/branches/FICN/src/orxonox/orxonox.cc
- Timestamp:
- Dec 17, 2007, 6:38:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/orxonox.cc
r584 r588 64 64 65 65 #include "particle/ParticleInterface.h" 66 67 #include "hud/HUD.h" 66 68 67 69 //network stuff … … 402 404 void Orxonox::setupRenderSystem() 403 405 { 404 if ( /*!root_->restoreConfig() &&*/!root_->showConfigDialog())406 if (!root_->restoreConfig() && !root_->showConfigDialog()) 405 407 throw Exception(52, "User canceled the config dialog!", "OrxApplication::setupRenderSystem()"); 406 408 } … … 430 432 loader_->loadLevel(); 431 433 432 auMan_->ambientStart(); 434 Overlay* hudOverlay = OverlayManager::getSingleton().getByName("Orxonox/HUD1.2"); 435 hud::HUD* orxonoxHud; 436 orxonoxHud = new hud::HUD(); 437 orxonoxHud->setEnergyValue(20); 438 orxonoxHud->setEnergyDistr(20,20,60); 439 hudOverlay->show(); 440 441 442 /* 443 auMan_->ambientAdd("a1"); 444 auMan_->ambientAdd("a2"); 445 auMan_->ambientAdd("a3"); 446 //auMan->ambientAdd("ambient1"); 447 auMan_->ambientStart();*/ 433 448 } 434 449
Note: See TracChangeset
for help on using the changeset viewer.