TombEngine/TR5Main/Specific/clock.h
2021-09-17 17:14:15 +03:00

10 lines
No EOL
305 B
C

#pragma once
// This might not be the exact amount of time that has passed, but giving it a
// value of 1/30 keeps it in lock-step with the rest of the game logic,
// which assumes 30 iterations per second.
static constexpr float DELTA_TIME = 1.0f / 30.0f;
int Sync();
bool TimeInit();
bool TimeReset();