diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-11-25 06:21:26 +0100 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-11-25 06:21:26 +0100 |
| commit | 3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 (patch) | |
| tree | 8e2637270472b3ff787f95b24c9567d0c4d3df2b /src/games/Game.hpp | |
| parent | 746819470de51c4f7331b64980f3da9bfb750a12 (diff) | |
add MemoryManager, enhance cmake,compile.sh
Diffstat (limited to 'src/games/Game.hpp')
| -rw-r--r-- | src/games/Game.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<Game> 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<std::u32string> m_frame_strings; protected: |
