galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::platform Namespace Reference

Functions

void seed_random () noexcept
 Seed the cstdlib rng algos.
 
void set_metadata (const char *type, const char *value) noexcept
 Sets metadata.
 
void set_hint (const char *hint, const char *value) noexcept
 Sets SDL hints.
 

Function Documentation

◆ seed_random()

void galaxy::platform::seed_random ( )
noexcept

Seed the cstdlib rng algos.

Definition at line 20 of file Platform.cpp.

+ Here is the caller graph for this function:

◆ set_metadata()

void galaxy::platform::set_metadata ( const char * type,
const char * value )
noexcept

Sets metadata.

Do before init.

Parameters
typeSDL_PROP_APP_METADATA_*
valueValue for the SDL PROP.

Definition at line 25 of file Platform.cpp.

+ Here is the caller graph for this function:

◆ set_hint()

void galaxy::platform::set_hint ( const char * hint,
const char * value )
noexcept

Sets SDL hints.

Do before init.

Parameters
typeSDL_HINT_*
valueValue for the SDL HINT.

Definition at line 30 of file Platform.cpp.

+ Here is the caller graph for this function: