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 <string>
12
13
#include "
galaxy/platform/Pragma.hpp
"
14
15
namespace
galaxy
16
{
17
namespace
platform
18
{
22
void
seed_random
() noexcept;
23
32
void
set_metadata
(const
char
* type, const
char
* value) noexcept;
33
42
void
set_hint
(const
char
* hint, const
char
* value) noexcept;
43
49
[[nodiscard]]
50
std::
string
as_string
() noexcept;
51
}
// namespace platform
52
}
// namespace galaxy
53
54
#endif
Pragma.hpp
galaxy::platform
Definition
CPUInfo.hpp:63
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::as_string
std::string as_string() noexcept
Gets the current platform name as a string.
Definition
Platform.cpp:35
galaxy::platform::set_hint
void set_hint(const char *hint, const char *value) noexcept
Sets SDL hints.
Definition
Platform.cpp:30
galaxy
Application.hpp galaxy.
Definition
Application.cpp:40
galaxy
src
galaxy
platform
Platform.hpp
Generated on
for galaxy by
1.18.0