Add native to get gpGlobals->frametime (#629)

This commit is contained in:
Arthurdead
2017-06-26 11:18:12 +01:00
committed by Asher Baker
parent 7f71f43c2e
commit 44c744b8fd
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -211,6 +211,13 @@ native float GetGameTime();
*/
native int GetGameTickCount();
/**
* Returns the time the Game took processing the last frame.
*
* @return Game frame time.
*/
native float GetGameFrameTime();
/**
* Returns the game description from the mod.
*