metaforce/Runtime/CTimeProvider.hpp

20 lines
394 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE__CTIMEPROVIDER_HPP__
#define __URDE__CTIMEPROVIDER_HPP__
2016-03-04 23:04:53 +00:00
namespace urde
2015-10-27 20:04:02 +00:00
{
class CTimeProvider;
class CTimeProvider
{
public:
2016-02-07 16:15:43 +00:00
static CTimeProvider* g_currentTimeProvider;
const float& x0_currentTime; // in seconds
bool x4_first = true;
2015-10-27 20:04:02 +00:00
CTimeProvider* x8_lastProvider = nullptr;
CTimeProvider(const float& time);
~CTimeProvider();
};
}
#endif