From ebe4a92027aabc9c01caf0fbe791d22773abfe75 Mon Sep 17 00:00:00 2001 From: fschildt Date: Sat, 13 Dec 2025 04:12:10 +0100 Subject: snake: add score/highscore --- src/common/MemoryManager.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/MemoryManager.hpp') diff --git a/src/common/MemoryManager.hpp b/src/common/MemoryManager.hpp index c8c7de0..d8460dc 100644 --- a/src/common/MemoryManager.hpp +++ b/src/common/MemoryManager.hpp @@ -8,6 +8,10 @@ using String32Id = uint32_t; +// temporary helper function +std::u32string int32_to_u32string(int32_t value); + + class MemoryManager { public: static std::u32string& GetString32(String32Id id); -- cgit v1.2.3