From e7ff8a9d0cff724520c4fb7a13b77e93797759cf Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Tue, 7 Jan 2025 15:03:53 +0100 Subject: saving coins avaiable in menu --- game/hud/HudScript.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/hud/HudScript.h') diff --git a/game/hud/HudScript.h b/game/hud/HudScript.h index d780d4b..cf939f4 100644 --- a/game/hud/HudScript.h +++ b/game/hud/HudScript.h @@ -14,8 +14,11 @@ public: void frame_update(crepe::duration_t dt) override; bool get_coin(const GetCoinEvent e); bool toggle_fps(crepe::KeyPressEvent ev); + bool save(); private: crepe::SaveManager* savemgr; bool show_fps = false; int coin_amount = 0; + std::string coin_amount_st = ""; + std::string distance_st = ""; }; -- cgit v1.2.3