metaforce/Runtime/CTimeProvider.hpp

15 lines
321 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2018-12-08 05:30:43 +00:00
namespace urde {
2015-10-27 20:04:02 +00:00
class CTimeProvider;
2018-12-08 05:30:43 +00:00
class CTimeProvider {
2015-10-27 20:04:02 +00:00
public:
2018-12-08 05:30:43 +00:00
static CTimeProvider* g_currentTimeProvider;
const float& x0_currentTime; // in seconds
bool x4_first = true;
CTimeProvider* x8_lastProvider = nullptr;
2015-10-27 20:04:02 +00:00
2018-12-08 05:30:43 +00:00
CTimeProvider(const float& time);
~CTimeProvider();
2015-10-27 20:04:02 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde