Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 1:49:54 PM (16 years ago)
Author:
rgrieder
Message:
  • reverted the HUD changes to ease up back merge from network branch

@everyone: please commit to the network branch from now on if it concerns the presentation.
Oli has also created a folder for the presentation files.
@fabian: you are excluded

File:
1 edited

Legend:

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

    r1387 r1407  
    180180  {
    181181    // keep in mind: the order of deletion is very important!
    182 //    if (this->orxonoxHUD_)
    183 //      delete this->orxonoxHUD_;
     182    if (this->orxonoxHUD_)
     183      delete this->orxonoxHUD_;
    184184    Loader::close();
    185185    InputManager::destroy();
     
    348348    // Load the HUD
    349349    COUT(3) << "Orxonox: Loading HUD..." << std::endl;
    350     orxonoxHUD_ = &HUD::getSingleton();
     350    orxonoxHUD_ = new HUD(1);
    351351
    352352    COUT(3) << "Orxonox: Loading Console..." << std::endl;
     
    487487//      orxonoxHUD_->setRocket2(ogreRoot.getCurrentFrameNumber());
    488488      if (eventTimes[3].back() - eventTimes[3].front() != 0)
    489         HUD::setFPS(50000.0f/(eventTimes[3].back() - eventTimes[3].front()));
     489//        orxonoxHUD_->setRocket1((int)(50000.0f/(eventTimes[3].back() - eventTimes[3].front())));
    490490
    491491      // Iterate through all Tickables and call their tick(dt) function
Note: See TracChangeset for help on using the changeset viewer.