From d812e93dec4bcb81c2b5226b14c54dacf4fb860d Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Thu, 3 Apr 2014 03:19:21 +0000 Subject: Remove "high FPS mode", it won't reach 500 FPS on my computer any more. Replace it with Vsync mode. Add float HGE::Timer_GetFPSf(). The return value will be updated every 1000ms. --- include/hge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hge.h b/include/hge.h index daed571..ef4597e 100644 --- a/include/hge.h +++ b/include/hge.h @@ -361,6 +361,7 @@ public: virtual float CALL Timer_GetTime() = 0; virtual float CALL Timer_GetDelta() = 0; virtual int CALL Timer_GetFPS() = 0; + virtual float CALL Timer_GetFPSf() = 0; virtual HEFFECT CALL Effect_Load(const char *filename, DWORD size=0) = 0; virtual void CALL Effect_Free(HEFFECT eff) = 0; -- cgit v1.2.3