Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2008, 9:12:59 PM (17 years ago)
Author:
rgrieder
Message:
  • rewrote the time measure in the main loop frame smoothing is gone for good and the fps display updates faster
  • changed "render time ratio" to "tick time in ms" which represents the time necessary to tick() one frame that's saying a lot more to me
Location:
code/branches/hud/src/orxonox/overlays
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/debug/DebugFPSText.cc

    r1619 r1621  
    4949    void DebugFPSText::tick(float dt)
    5050    {
    51         float fps = GraphicsEngine::getSingleton().getAverageFPS();
     51        float fps = GraphicsEngine::getSingleton().getAverageFramesPerSecond();
    5252        this->text_->setCaption(this->getCaption() + convertToString(fps));
    5353    }
  • code/branches/hud/src/orxonox/overlays/debug/DebugRTRText.cc

    r1619 r1621  
    4949    void DebugRTRText::tick(float dt)
    5050    {
    51         float rtr = GraphicsEngine::getSingleton().getAverageRTR();
     51        float rtr = GraphicsEngine::getSingleton().getAverageTickTime();
    5252        this->text_->setCaption(this->getCaption() + convertToString(rtr));
    5353    }
  • code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.cc

    r1616 r1621  
    101101
    102102        XMLPortParam(HUDNavigation, "font", setFont, getFont, xmlElement, mode);
    103         XMLPortParam(HUDNavigation, "textsize", setTextSize, getTextSize, xmlElement, mode);
    104         XMLPortParam(HUDNavigation, "navmarkersize", setNavMarkerSize, getNavMarkerSize, xmlElement, mode);
    105         XMLPortParam(HUDNavigation, "aimmarkersize", setAimMarkerSize, getAimMarkerSize, xmlElement, mode);
     103        XMLPortParam(HUDNavigation, "textSize", setTextSize, getTextSize, xmlElement, mode);
     104        XMLPortParam(HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlElement, mode);
     105        XMLPortParam(HUDNavigation, "aimMarkerSize", setAimMarkerSize, getAimMarkerSize, xmlElement, mode);
    106106
    107107        if (mode == XMLPort::LoadObject)
Note: See TracChangeset for help on using the changeset viewer.