diff options
Diffstat (limited to 'source/frontend/StarMainMixer.hpp')
-rw-r--r-- | source/frontend/StarMainMixer.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/frontend/StarMainMixer.hpp b/source/frontend/StarMainMixer.hpp index e0f1223..ecf9443 100644 --- a/source/frontend/StarMainMixer.hpp +++ b/source/frontend/StarMainMixer.hpp @@ -7,6 +7,7 @@ namespace Star { STAR_CLASS(UniverseClient); +STAR_CLASS(WorldPainter); STAR_CLASS(MainMixer); class MainMixer { @@ -14,6 +15,7 @@ public: MainMixer(unsigned sampleRate, unsigned channels); void setUniverseClient(UniverseClientPtr universeClient); + void setWorldPainter(WorldPainterPtr worldPainter); void update(bool muteSfx = false, bool muteMusic = false); @@ -24,6 +26,7 @@ public: private: UniverseClientPtr m_universeClient; + WorldPainterPtr m_worldPainter; MixerPtr m_mixer; Set<MixerGroup> m_mutedGroups; Map<MixerGroup, float> m_groupVolumes; |