Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 2:56:48 PM (16 years ago)
Author:
scheusso
Message:

merged hud3 branch into trunk and changed camera orientation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Orxonox.cc

    r1349 r1362  
    348348    // Load the HUD
    349349    COUT(3) << "Orxonox: Loading HUD..." << std::endl;
    350     Ogre::Overlay* hudOverlay = Ogre::OverlayManager::getSingleton().getByName("Orxonox/HUD1.2");
    351     orxonoxHUD_ = new HUD();
    352     orxonoxHUD_->setEnergyValue(20);
    353     orxonoxHUD_->setEnergyDistr(20,20,60);
    354     hudOverlay->show();
     350    orxonoxHUD_ = new HUD(1);
    355351
    356352    COUT(3) << "Orxonox: Loading Console..." << std::endl;
     
    488484
    489485      // show the current time in the HUD
    490       orxonoxHUD_->setTime((int)now, 0);
    491       orxonoxHUD_->setRocket2(ogreRoot.getCurrentFrameNumber());
     486//      orxonoxHUD_->setTime((int)now, 0);
     487//      orxonoxHUD_->setRocket2(ogreRoot.getCurrentFrameNumber());
    492488      if (eventTimes[3].back() - eventTimes[3].front() != 0)
    493         orxonoxHUD_->setRocket1((int)(50000.0f/(eventTimes[3].back() - eventTimes[3].front())));
     489//        orxonoxHUD_->setRocket1((int)(50000.0f/(eventTimes[3].back() - eventTimes[3].front())));
    494490
    495491      // Iterate through all Tickables and call their tick(dt) function
Note: See TracChangeset for help on using the changeset viewer.