timer.cpp
资源名称:hge181.rar [点击查看]
上传用户:jnfxsk
上传日期:2022-06-16
资源大小:3675k
文件大小:0k
源码类别:
游戏引擎
开发平台:
Visual C++
- /*
- ** Haaf's Game Engine 1.8
- ** Copyright (C) 2003-2007, Relish Games
- ** hge.relishgames.com
- **
- ** Core functions implementation: timer
- */
- #include "hge_impl.h"
- float CALL HGE_Impl::Timer_GetTime()
- {
- return fTime;
- }
- float CALL HGE_Impl::Timer_GetDelta()
- {
- return fDeltaTime;
- }
- int CALL HGE_Impl::Timer_GetFPS()
- {
- return nFPS;
- }