Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 8:07:32 PM (16 years ago)
Author:
rgrieder
Message:
  • "set" —> "config"
  • adjusted Shell output levels for keybind and calibrate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/hud/HUD.cc

    r1456 r1461  
    213213
    214214    /*static*/ void HUD::toggleFPS(){
    215         if(HUD::getSingleton().showFPS) HUD::getSingleton().showFPS = false;
    216         else HUD::getSingleton().showFPS = true;
     215        HUD::getSingleton().showFPS = !HUD::getSingleton().showFPS;
    217216    }
    218217
    219218    /*static*/ void HUD::toggleRenderTime(){
    220         if(HUD::getSingleton().showRenderTime) HUD::getSingleton().showRenderTime = false;
    221         else HUD::getSingleton().showRenderTime = true;
     219        HUD::getSingleton().showRenderTime = !HUD::getSingleton().showRenderTime;
    222220    }
    223221}
Note: See TracChangeset for help on using the changeset viewer.