Add guide string for extras.

This commit is contained in:
J-D-K
2025-09-09 21:23:13 -04:00
parent 0438937c5c
commit fd35ea7db9
18 changed files with 44 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "appstates/BaseState.hpp"
#include "sdl.hpp"
#include "ui/ControlGuide.hpp"
#include "ui/Menu.hpp"
/// @brief Extras menu.
@@ -16,6 +17,9 @@ class ExtrasMenuState final : public BaseState
/// @brief Updates the menu.
void update() override;
/// @brief Sub-update routine.
void sub_update() override;
/// @brief Renders the menu to screen.
void render() override;
@@ -26,6 +30,9 @@ class ExtrasMenuState final : public BaseState
/// @brief Render target for menu.
sdl::SharedTexture m_renderTarget{};
/// @brief Control guider for bottom right corner.
std::shared_ptr<ui::ControlGuide> m_controlGuide{};
/// @brief Creates and loads the menu strings.
void initialize_menu();