summaryrefslogtreecommitdiff
path: root/hgewin/timer.cpp
blob: af75315c8ed4ea0af403d59a567115bbb539079d (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
/*
** 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;
}