summary refs log tree commit diff stats
path: root/src/muxer.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-21 13:02:11 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-21 13:02:11 -0400
commit61aa4f941e67cf45833f1e12fe25428b3f283f74 (patch)
tree36728b116c68c26f9841a56773a80ede77120b62 /src/muxer.h
parent766a559d50149fac90cf3d5dac1490b8316fb943 (diff)
downloadether-61aa4f941e67cf45833f1e12fe25428b3f283f74.tar.gz
ether-61aa4f941e67cf45833f1e12fe25428b3f283f74.tar.bz2
ether-61aa4f941e67cf45833f1e12fe25428b3f283f74.zip
game can be muted now
not re-rendering the menu overlay because it looks fine tbh
Diffstat (limited to 'src/muxer.h')
-rw-r--r--src/muxer.h3
1 files changed, 3 insertions, 0 deletions
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:
40 40
41 void update(); 41 void update();
42 42
43 void toggleMute();
44
43private: 45private:
44 fmod_system_ptr system_; 46 fmod_system_ptr system_;
45 FMOD::Studio::EventInstance* exploration_event_; 47 FMOD::Studio::EventInstance* exploration_event_;
46 FMOD::Studio::EventInstance* transition_event_; 48 FMOD::Studio::EventInstance* transition_event_;
47 FMOD::Studio::EventInstance* the_world_event_; 49 FMOD::Studio::EventInstance* the_world_event_;
48 TransitionState transition_state_ = TransitionState::Pre; 50 TransitionState transition_state_ = TransitionState::Pre;
51 bool muted_ = false;
49}; 52};
50 53
51#endif /* end of include guard: MUXER_H_3146C802 */ 54#endif /* end of include guard: MUXER_H_3146C802 */