aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-04-03 03:19:21 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-04-03 03:19:21 +0000
commitd812e93dec4bcb81c2b5226b14c54dacf4fb860d (patch)
treea7758c924c669b794330987f3387d471eadb5ca2 /include
parent85923eb8a5d3f070618c3d6f94bea715c11a4227 (diff)
downloadbullet-lab-remix-d812e93dec4bcb81c2b5226b14c54dacf4fb860d.tar.xz
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.
Diffstat (limited to 'include')
-rw-r--r--include/hge.h1
1 files changed, 1 insertions, 0 deletions
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;