aboutsummaryrefslogtreecommitdiff
path: root/src/games/Game.cpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-11-25 06:21:26 +0100
committerfschildt <florian.schildt@protonmail.com>2025-11-25 06:21:26 +0100
commit3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 (patch)
tree8e2637270472b3ff787f95b24c9567d0c4d3df2b /src/games/Game.cpp
parent746819470de51c4f7331b64980f3da9bfb750a12 (diff)
add MemoryManager, enhance cmake,compile.sh
Diffstat (limited to 'src/games/Game.cpp')
-rw-r--r--src/games/Game.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/games/Game.cpp b/src/games/Game.cpp
index c403a40..7c63b4f 100644
--- a/src/games/Game.cpp
+++ b/src/games/Game.cpp
@@ -79,3 +79,11 @@ Game::DrawDefaultGamePausedMenu()
ImGui::End();
}
+Game::FrameString32
+Game::PushFrameString32(std::u32string&& str)
+{
+ m_frame_strings.emplace_back(str);
+ FrameString32 id = static_cast<uint32_t>(m_frame_strings.size()-1);
+ return id;
+}
+