Structure to handle time-related functionality.
Definition time_system.h:36
double previousTick
Previous frame tick value.
Definition time_system.h:41
float timeScale
Scale factor for time.
Definition time_system.h:38
float scaledDeltaTimeSeconds
Delta time multiplied by time scale.
Definition time_system.h:39
double programElapsedTimeSeconds
Total time elapsed since program start.
Definition time_system.h:40
float deltaTimeSeconds
Time between current frame and previous frame in seconds.
Definition time_system.h:37
const TimeSystem *const Time
Global read-only time system pointer for other modules.
Definition time_system.c:29
void Time_UpdateFPS()
[Utility] Updates the FPS counter
Definition time_system.c:54
void Time_SetTimeScale(float scale)
[Utility] Sets the time scale.
Definition time_system.c:81
void Time_PreUpdate()
[PreUpdate] Updates the time system values
Definition time_system.c:38
void Time_ResetTotalTime()
[Utility] Resets the total time elapsed in the program.
Definition time_system.c:91