From 61aa4f941e67cf45833f1e12fe25428b3f283f74 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 21 Mar 2022 13:02:11 -0400 Subject: game can be muted now not re-rendering the menu overlay because it looks fine tbh --- src/muxer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/muxer.h') diff --git a/src/muxer.h b/src/muxer.h index acceca8..8c643de 100644 --- a/src/muxer.h +++ b/src/muxer.h @@ -40,12 +40,15 @@ public: void update(); + void toggleMute(); + private: fmod_system_ptr system_; FMOD::Studio::EventInstance* exploration_event_; FMOD::Studio::EventInstance* transition_event_; FMOD::Studio::EventInstance* the_world_event_; TransitionState transition_state_ = TransitionState::Pre; + bool muted_ = false; }; #endif /* end of include guard: MUXER_H_3146C802 */ -- cgit 1.4.1