Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2008, 2:14:28 PM (17 years ago)
Author:
chaiy
Message:

irgendwas sinnvolles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/Orxonox.cc

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