From 465842710c7cb87e0e8fffd0b2afe3d624fe2354 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Sat, 8 Mar 2014 02:23:30 +0000 Subject: Merge code for Windows, Leaf_Anim rewrite, should fix crashes in Windows. This revision (or the next one) will be released to public. --- hgewin/timer.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 hgewin/timer.cpp (limited to 'hgewin/timer.cpp') diff --git a/hgewin/timer.cpp b/hgewin/timer.cpp new file mode 100755 index 0000000..af75315 --- /dev/null +++ b/hgewin/timer.cpp @@ -0,0 +1,28 @@ +/* +** 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; +} + -- cgit v1.2.3