2015-10-27 20:04:02 +00:00
|
|
|
#ifndef __RETRO__CTIMEPROVIDER_HPP__
|
|
|
|
#define __RETRO__CTIMEPROVIDER_HPP__
|
|
|
|
namespace Retro
|
|
|
|
{
|
|
|
|
class CTimeProvider;
|
|
|
|
class CTimeProvider
|
|
|
|
{
|
|
|
|
public:
|
2016-02-07 16:15:43 +00:00
|
|
|
static CTimeProvider* g_currentTimeProvider;
|
2015-11-02 18:45:39 +00:00
|
|
|
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
|