Fireset
Loading...
Searching...
No Matches
Time

Time-related functions. More...

Functions

double fsTimeGetSystem (void)
 Returns the current system time.
double fsTimeGetDelta (void)
 Returns the delta time.
void fsTimeInit (void)
 Initializes the time module.

Detailed Description

Time-related functions.

Function Documentation

◆ fsTimeGetDelta()

double fsTimeGetDelta ( void )

Returns the delta time.

Returns the time difference between the current frame and the previous one.

Returns
Delta time.

◆ fsTimeGetSystem()

double fsTimeGetSystem ( void )

Returns the current system time.

Returns the current system time at the moment this function is called.

Returns
Current system time.

◆ fsTimeInit()

void fsTimeInit ( void )

Initializes the time module.

Initializes the internal time tracking used by the engine.

This function must be called before using any other time-related function.