You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Sets the current playing dynamic music to end, disabling further playback of new music.
68
72
/// @param fadeOutCurrent Whether to also fade out the current playing music or not.
69
73
/// @return True if this was not set to end music previously, false if it already was.
@@ -85,8 +89,9 @@ namespace RTE {
85
89
std::unique_ptr<SoundContainer> m_InterruptingMusicSoundContainer; //!< Current interrupting music being played.
86
90
87
91
std::unique_ptr<DynamicSong> m_CurrentSong; //!< The current DynamicSong being played.
88
-
std::string m_CurrentSongSectionType; //!< The current type of DynamicSongSection we are trying to play.
89
-
DynamicSongSection* m_CurrentSongSection; //!< The current DynamicSongSection we are actually playing.
92
+
std::string m_NextSongSectionType; //!< The type of DynamicSongSection we will try to play next.
93
+
std::string m_CurrentSongSectionType; //!< The current type of DynamicSongSection we are actually playing.
94
+
DynamicSongSection* m_NextSongSection; //!< The DynamicSongSection we will try to play next.
90
95
91
96
std::unique_ptr<SoundContainer> m_PreviousSoundContainer; //!< The previous SoundContainer that was played as music. We keep it to allow it to play out while Current ramps up.
92
97
std::unique_ptr<SoundContainer> m_CurrentSoundContainer; //!< The current selected SoundContainer playing as music.
@@ -102,7 +107,7 @@ namespace RTE {
102
107
#pragma region Internal Music Handling
103
108
/// Sets the current SongSectionType this wants to play.
104
109
/// @param newSongSectionType New SongSectionType for this to want to play.
0 commit comments