aboutsummaryrefslogblamecommitdiff
path: root/archive/hge/timer.cpp
blob: 13711c7a88f290d4c06813d8ede91a025ffffbf9 (plain) (tree)





















                                        




                                 



                                    
/*
** 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;
}