22 SDL_AppResult
event(SDL_Event*
event)
override;
23 SDL_AppResult
iterate()
override;
Borrowed dependencies shared by client screens.
TCP client for connecting to the game server.
Abstract interface for top-level application screens (lobby, in-game).
Work-in-progress SDL3 GPU renderer.
Final scoreboard snapshot shown after a match ends.
TCP stream client — sends input to the server and receives state updates.
Definition Client.hpp:69
Interface implemented by each full-screen mode (Lobby, Game).
Definition IScreen.hpp:16
Graphics-team's work-in-progress SDL3 GPU renderer.
Definition NewRenderer.hpp:83
Definition PostMatchScoreboard.hpp:18
void quit() override
Perform any necessary cleanup before the screen is destroyed.
Definition PostMatchScoreboard.cpp:119
NewRenderer * renderer
Definition PostMatchScoreboard.hpp:32
SystemMenuOverlay systemMenu_
Definition PostMatchScoreboard.hpp:37
bool init(AppContext &ctx, PostMatchResult result)
Definition PostMatchScoreboard.cpp:12
Client * client
Definition PostMatchScoreboard.hpp:34
SDL_AppResult event(SDL_Event *event) override
Handle an incoming SDL event.
Definition PostMatchScoreboard.cpp:34
std::string_view settingsPath
Definition PostMatchScoreboard.hpp:36
bool consumeServerShutdownNotice()
Definition PostMatchScoreboard.cpp:137
bool consumeReturnToMenu()
Definition PostMatchScoreboard.cpp:129
bool consumeExitRequest()
Definition PostMatchScoreboard.cpp:145
bool exitRequested_
Definition PostMatchScoreboard.hpp:42
bool consumeReturnToLobby()
Definition PostMatchScoreboard.cpp:121
SDL_Window * window
Definition PostMatchScoreboard.hpp:33
UserSettings * settings
Definition PostMatchScoreboard.hpp:35
SDL_AppResult iterate() override
Update the screen state and render the next frame.
Definition PostMatchScoreboard.cpp:43
PostMatchResult result_
Definition PostMatchScoreboard.hpp:38
bool serverShutdownNotice_
Definition PostMatchScoreboard.hpp:41
bool returnToMenu_
Definition PostMatchScoreboard.hpp:40
bool returnToLobby_
Definition PostMatchScoreboard.hpp:39
Non-owning view of App-owned services and configuration.
Definition AppContext.hpp:20
Definition PostMatchResult.hpp:19
Per-user gameplay settings loaded from SDL's pref-path TOML file.
Definition UserSettings.hpp:25