|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Classes | |
| class | FrameTelemetry |
| struct | Options |
Enumerations | |
| enum class | WindowMode { Windowed , BorderlessFullscreen , ExclusiveFullscreen } |
| enum class | PresentMode { Vsync , Mailbox , Immediate } |
Functions | |
| std::expected< Options, std::string > | parseArguments (std::span< const std::string_view > arguments) |
| SDL_WindowFlags | windowFlags (const Options &options) noexcept |
| std::pair< int, int > | initialWindowSize (const Options &options) noexcept |
| std::expected< void, std::string > | configureWindow (SDL_Window *window, const Options &options) |
| std::expected< void, std::string > | toggleBorderlessFullscreen (SDL_Window *window, const Options &options) |
| SDL_GPUPresentMode | toSDLPresentMode (PresentMode mode) noexcept |
| std::string_view | presentModeName (PresentMode mode) noexcept |
| std::string_view | windowModeName (WindowMode mode) noexcept |
| std::expected< SDL_GPUPresentMode, std::string > | configureSwapchain (SDL_GPUDevice *device, SDL_Window *window, PresentMode requested) |
|
strong |
| Enumerator | |
|---|---|
| Vsync | |
| Mailbox | |
| Immediate | |
Definition at line 21 of file Presentation.hpp.
|
strong |
| Enumerator | |
|---|---|
| Windowed | |
| BorderlessFullscreen | |
| ExclusiveFullscreen | |
Definition at line 14 of file Presentation.hpp.
| std::expected< SDL_GPUPresentMode, std::string > monopoly::presentation::configureSwapchain | ( | SDL_GPUDevice * | device, |
| SDL_Window * | window, | ||
| PresentMode | requested | ||
| ) |
Definition at line 279 of file Presentation.cpp.
| std::expected< void, std::string > monopoly::presentation::configureWindow | ( | SDL_Window * | window, |
| const Options & | options | ||
| ) |
Definition at line 149 of file Presentation.cpp.
Definition at line 141 of file Presentation.cpp.
| std::expected< Options, std::string > monopoly::presentation::parseArguments | ( | std::span< const std::string_view > | arguments | ) |
Definition at line 54 of file Presentation.cpp.
|
noexcept |
Definition at line 254 of file Presentation.cpp.
| std::expected< void, std::string > monopoly::presentation::toggleBorderlessFullscreen | ( | SDL_Window * | window, |
| const Options & | options | ||
| ) |
Definition at line 208 of file Presentation.cpp.
|
noexcept |
Definition at line 239 of file Presentation.cpp.
|
noexcept |
Definition at line 128 of file Presentation.cpp.
|
noexcept |
Definition at line 266 of file Presentation.cpp.