Fireset
Loading...
Searching...
No Matches
Core

Engine core lifecycle functions. More...

Functions

bool fsInit (void)
 Initializes the Fireset engine core.
void fsExit (void)
 Shuts down the Fireset engine core.

Detailed Description

Engine core lifecycle functions.

Function Documentation

◆ fsExit()

void fsExit ( void )

Shuts down the Fireset engine core.

Releases all internal resources and shuts down third-party systems initialized by fsInit().

This function should be called once, at the very end of the program, after all engine usage has finished.

Note
After calling this function, no Fireset API function is valid.

◆ fsInit()

bool fsInit ( void )

Initializes the Fireset engine core.

This function must be called exactly once, at the very beginning of the program, before calling any other Fireset API function.

It initializes internal engine state and third-party dependencies such as the windowing system.

Return values
trueEngine initialized successfully.
falseInitialization failed. No other Fireset function is safe to call.
Note
Calling this function more than once results in undefined behavior.