metaforce/Runtime/CTimeProvider.hpp

20 lines
397 B
C++
Raw Normal View History

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;
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