Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 2:39:46 PM (16 years ago)
Author:
FelixSchulthess
Message:

possible to toggle FPS and Render time display with F1 and F2

File:
1 edited

Legend:

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

    r1450 r1451  
    5959        Navigation* nav;
    6060
     61        bool showFPS;
     62        bool showRenderTime;
     63
    6164      public:
    6265        virtual void tick(float);
     
    6467        RadarObject* getFirstRadarObject();
    6568        void setRenderTimeRatio(float ratio);
     69        void setFPS();
    6670
    6771        static HUD* instance_s;
     
    6973        static void setEnergy(float value);
    7074        static void cycleNavigationFocus();
     75        static void toggleFPS();
     76        static void toggleRenderTime();
    7177    };
    7278}
Note: See TracChangeset for help on using the changeset viewer.