mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-04 02:38:00 +03:00
10 lines
No EOL
305 B
C
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(); |