From 074ca8c4b60bf5ab61be64a971105335c49ce8e8 Mon Sep 17 00:00:00 2001 From: Ritabrata Das Date: Sun, 13 Sep 2026 11:46:52 +0530 Subject: add music --- lib/gameState.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/gameState.hpp b/lib/gameState.hpp index edfedde..659f7e0 100644 --- a/lib/gameState.hpp +++ b/lib/gameState.hpp @@ -12,8 +12,6 @@ constexpr int VIRTUAL_SCREEN_H = 400; constexpr float WEB_RENDER_SCALE = 2.0f; constexpr Vector2 ZERO_VEC = {0,0}; -inline Music g_bgMusic; - enum DialogueState { DIALOGUE_OFF, DIALOGUE_SCROLLING, @@ -113,4 +111,6 @@ struct GameState { bool GameOver = false; float GameOverTime = -1.0f; std::set explored = {}; + + Music BGMusic; }; -- cgit v1.2.3