aboutsummaryrefslogtreecommitdiff
path: root/hgewin/timer.cpp
blob: 13711c7a88f290d4c06813d8ede91a025ffffbf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
** 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;
}

float CALL HGE_Impl::Timer_GetFPSf()
{
	return nFPSf;
}