Changeset 1621 for code/branches/hud/src/orxonox/overlays
- Timestamp:
- Jun 23, 2008, 9:12:59 PM (17 years ago)
- 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 49 49 void DebugFPSText::tick(float dt) 50 50 { 51 float fps = GraphicsEngine::getSingleton().getAverageF PS();51 float fps = GraphicsEngine::getSingleton().getAverageFramesPerSecond(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(fps)); 53 53 } -
code/branches/hud/src/orxonox/overlays/debug/DebugRTRText.cc
r1619 r1621 49 49 void DebugRTRText::tick(float dt) 50 50 { 51 float rtr = GraphicsEngine::getSingleton().getAverage RTR();51 float rtr = GraphicsEngine::getSingleton().getAverageTickTime(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(rtr)); 53 53 } -
code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.cc
r1616 r1621 101 101 102 102 XMLPortParam(HUDNavigation, "font", setFont, getFont, xmlElement, mode); 103 XMLPortParam(HUDNavigation, "text size", setTextSize, getTextSize, xmlElement, mode);104 XMLPortParam(HUDNavigation, "nav markersize", setNavMarkerSize, getNavMarkerSize, xmlElement, mode);105 XMLPortParam(HUDNavigation, "aim markersize", 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); 106 106 107 107 if (mode == XMLPort::LoadObject)
Note: See TracChangeset
for help on using the changeset viewer.