Changeset 1414 for code/branches/network/src/orxonox/hud/HUD.cc
- Timestamp:
- May 24, 2008, 10:08:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/HUD.cc
r1411 r1414 38 38 #include "core/ConsoleCommand.h" 39 39 #include "objects/SpaceShip.h" 40 #include "GraphicsEngine.h" 40 41 #include "BarOverlayElement.h" 41 42 #include "RadarObject.h" … … 129 130 130 131 nav->update(); 131 }132 132 133 void HUD::setFPS(float fps){133 float fps = GraphicsEngine::getSingleton().getAverageFPS(); 134 134 fpsText->setCaption("FPS: " + Ogre::StringConverter::toString(fps)); 135 135 }
Note: See TracChangeset
for help on using the changeset viewer.