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
Platform.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_PLATFORM_PLATFORM_HPP_
9
#define GALAXY_PLATFORM_PLATFORM_HPP_
10
11
#include "
galaxy/platform/Pragma.hpp
"
12
13
#ifdef GALAXY_WIN_PLATFORM
14
#include "
galaxy/platform/specific/Windows.hpp
"
15
#elif GALAXY_UNIX_PLATFORM
16
#include "
galaxy/platform/specific/Unix.hpp
"
17
#endif
18
19
namespace
galaxy
20
{
21
namespace
platform
22
{
26
void
seed_random
() noexcept;
27
36
void
set_metadata
(const
char
* type, const
char
* value) noexcept;
37
46
void
set_hint
(const
char
* hint, const
char
* value) noexcept;
47
}
// namespace platform
48
}
// namespace galaxy
49
50
#endif
Pragma.hpp
Unix.hpp
Windows.hpp
galaxy::platform::seed_random
void seed_random() noexcept
Seed the cstdlib rng algos.
Definition
Platform.cpp:20
galaxy::platform::set_metadata
void set_metadata(const char *type, const char *value) noexcept
Sets metadata.
Definition
Platform.cpp:25
galaxy::platform::set_hint
void set_hint(const char *hint, const char *value) noexcept
Sets SDL hints.
Definition
Platform.cpp:30
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
galaxy
src
galaxy
platform
Platform.hpp
Generated on Fri Sep 12 2025 07:29:48 for galaxy by
1.12.0