#pragma once #include "game.h" #include #include // Menu UI controller class Menu { private: std::string title; std::vector options; int selectedIndex; public: Menu(std::string menuTitle, std::vector menuOptions) : title(menuTitle), options(menuOptions), selectedIndex(0) { } int Update(); void Draw(); }; // Settings and lobby routines void ApplyResolution(int width, int height); void ApplyFramerate(int option); void UpdateSettingsState(GameContext& ctx); void DrawSettingsState(const GameContext& ctx, int screenWidth, int screenHeight); void UpdateLobbyState(GameContext& ctx); void DrawLobbyState(const GameContext& ctx, int screenWidth, int screenHeight);