From 3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 Mon Sep 17 00:00:00 2001 From: fschildt Date: Tue, 25 Nov 2025 06:21:26 +0100 Subject: add MemoryManager, enhance cmake,compile.sh --- src/games/Game.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/games/Game.hpp') diff --git a/src/games/Game.hpp b/src/games/Game.hpp index aad3c1b..e9eed82 100644 --- a/src/games/Game.hpp +++ b/src/games/Game.hpp @@ -34,6 +34,9 @@ public: z_text }; + using FrameString32 = uint32_t; + + static std::unique_ptr Select(GameType type); @@ -47,10 +50,12 @@ protected: void DrawDefaultGamePausedMenu(); float ProcessDt(); + uint32_t PushFrameString32(std::u32string&& str); GameStatus m_game_status {game_starting}; float m_dt_remaining_seconds {0.0f}; uint64_t m_tlast_milliseconds {SDL_GetTicks()}; + std::vector m_frame_strings; protected: -- cgit v1.2.3