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
14
15namespace 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
void seed_random() noexcept
Seed the cstdlib rng algos.
Definition Platform.cpp:20
void set_metadata(const char *type, const char *value) noexcept
Sets metadata.
Definition Platform.cpp:25
std::string as_string() noexcept
Gets the current platform name as a string.
Definition Platform.cpp:35
void set_hint(const char *hint, const char *value) noexcept
Sets SDL hints.
Definition Platform.cpp:30
Application.hpp galaxy.