|
inlineprivate |
fadeout settings
References CALL_CATEGORY_SYSTEM, g_Game, ScriptInvoker::Insert(), m_CategorySelected, m_Created, m_DynamicMusicPlayerRegistry, m_FadeoutTimeElapsed, m_FadeoutTimeRequested, m_LastPlayedTrackBufferPerCategory, DayZProfilesOptions::m_OnIntOptionChanged, m_TracksLocationMatchedPlayerInside, m_TracksLocationStaticCached, m_TracksLocationStaticPrioritizedCached, OnProfileOptionChanged(), RefreshTracksCache(), SetTimeOfDate(), and TRACKS_BUFFER_HISTORY_SIZE.
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, DetermineTrackByCategory(), g_Game, IsPlaybackActive(), m_CategorySelected, m_DynamicMusicPlayerRegistry, DynamicMusicPlayerRegistry::m_TracksLocationDynamic, m_TracksLocationMatchedPlayerInside, DynamicMusicPlayerRegistry::m_TracksMenu, DynamicMusicPlayerRegistry::m_TracksTime, and SetSelectedTrackFromCategory().
Referenced by DetermineTrackByCategory(), OnCategorySet(), and OnUpdate().
|
inlineprivate |
References m_CurrentTrack, m_FadeoutInProgress, m_FadeoutTimeRequested, m_SoundPlaying, and DynamicMusicTrackData::m_SoundSet.
Referenced by OnLocationMatched().
|
inlineprivate |
References m_DynamicMusicPlayerRegistry, and DynamicMusicPlayerRegistry::m_SettingsByCategory.
Referenced by GetWaitTimeForCategory().
|
inlineprivate |
References m_DynamicMusicPlayerRegistry, and DynamicMusicPlayerRegistry::m_SettingsByCategory.
Referenced by GetWaitTimeForCategory().
|
inlineprivate |
References m_DynamicMusicPlayerRegistry, and DynamicMusicPlayerRegistry::m_SettingsByCategory.
Referenced by OnLocationMatched().
|
inlineprivate |
References GetMaxWaitTimePerCategory(), GetMinWaitTimePerCategory(), and Math::RandomFloatInclusive().
Referenced by SetSelectedTrackFromCategory().
|
inlineprivate |
References m_SoundPlaying, and m_WaitingForPlayback.
Referenced by DetermineTrackByCategory(), and OnUpdate().
|
inlineprivate |
References m_CategorySelected.
Referenced by OnFadeoutFinished(), OnLocationMatched(), and OnUpdate().
|
inlineprivate |
References DetermineTrackByCategory(), and EnumTools::EnumToString().
Referenced by SetCategory().
|
inlineprivate |
References IsPriotitizedCategorySelected(), m_SoundPlaying, OnTrackEnded(), SetCategory(), and StopTrack().
Referenced by OnUpdate().
References MPSessionPlayerReadyEventTypeID, SetCategory(), and SetTimeOfDate().
|
inlineprivate |
play prio location track (no fadeout)
play location track (no fadeout)
References FadeoutTrack(), GetPreviousTrackFadeoutSeconds(), IsPriotitizedCategorySelected(), m_CategorySelected, m_SoundPlaying, m_WaitingForPlayback, ResetWaitingQueue(), and SetCategory().
Referenced by OnUpdate().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, g_Game, m_Created, m_CurrentTrack, DynamicMusicTrackData::m_SoundSet, m_WaitingForPlayback, and PlayTrack().
Referenced by SetSelectedTrackFromCategory().
|
inlineprivate |
References m_CategorySelected, ResetWaitingQueue(), and StopTrack().
Referenced by DynamicMusicPlayer().
|
inlineprivate |
References m_CurrentTrack, m_SoundPlaying, DynamicMusicTrackData::m_SoundSet, and m_WaitingForPlayback.
Referenced by OnFadeoutFinished(), and PlayTrack().
|
inlineprivate |
stopped only by fadeouts
References m_CurrentTrack, m_SoundPlaying, DynamicMusicTrackData::m_SoundSet, and m_WaitingForPlayback.
Referenced by PlayTrack().
|
inlineprivate |
handle fadeouts
caching of locations based on distance from player (<= LOCATION_DISTANCE_MAX)
no playback at all OR playback of non-prioritized category
works as default category selector
menu only
References DetermineTrackByCategory(), g_Game, DiagMenu::GetBool(), IsPlaybackActive(), IsPriotitizedCategorySelected(), m_CategorySelected, m_DynamicMusicPlayerRegistry, m_FadeoutInProgress, m_FadeoutTimeElapsed, m_FadeoutTimeRequested, m_PlayerPosition, m_TickFadeOutProcessingElapsed, m_TickLocationCacheUpdateElapsed, m_TickLocationUpdateElapsed, m_TickPriorityLocationUpdateElapsed, m_TickTimeOfDateElapsed, m_TracksLocationStaticCached, m_TracksLocationStaticPrioritizedCached, OnFadeoutFinished(), OnLocationMatched(), PlayerInsideOfLocationFilter(), ProcessFadeOut(), RefreshTracksCache(), SetCategory(), SetTimeOfDate(), TICK_FADEOUT_PROCESSOR_SECONDS, TICK_LOCATION_CACHE_UPDATE_SECONDS, TICK_LOCATION_UPDATE_SECONDS, TICK_PRIORITY_LOCATION_UPDATE_SECONDS, and TICK_TIME_OF_DATE_UPDATE_SECONDS.
|
inlineprivate |
References INDEX_NOT_FOUND, Math::IsPointInRectangle(), m_PlayerPosition, m_TracksLocationMatchedPlayerInside, and Math2D().
Referenced by OnUpdate().
|
inlineprivate |
References Math::IsPointInRectangle(), and m_PlayerPosition.
|
inlineprivate |
register callbacks
invalid sound set is used
References GetGame(), CGame::GetSoundScene(), m_CurrentTrack, m_SoundPlaying, DynamicMusicTrackData::m_SoundSet, m_WaitingForPlayback, OnTrackEnded(), OnTrackStopped(), AbstractSoundScene::Play2D(), SoundObject::SetKind(), SoundObjectBuilder(), and SoundParams().
Referenced by OnNextTrackSelected(), and ResetWaitingQueue().
|
inlineprivate |
References m_FadeoutTimeElapsed, m_FadeoutTimeRequested, and m_SoundPlaying.
Referenced by OnUpdate().
|
inlineprivate |
References Math::CenterOfRectangle(), vector::Distance(), LOCATION_DISTANCE_MAX, m_DynamicMusicPlayerRegistry, m_PlayerPosition, DynamicMusicPlayerRegistry::m_TracksLocationStatic, m_TracksLocationStaticCached, DynamicMusicPlayerRegistry::m_TracksLocationStaticPrioritized, and m_TracksLocationStaticPrioritizedCached.
Referenced by DynamicMusicPlayer(), and OnUpdate().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, g_Game, m_CurrentTrack, m_WaitingForPlayback, and PlayTrack().
Referenced by OnLocationMatched(), and OnProfileOptionChanged().
|
inlineprivate |
References INDEX_NOT_FOUND, m_LastPlayedTrackBufferPerCategory, Math::RandomInt(), and TRACKS_BUFFER_HISTORY_SIZE.
Referenced by SetSelectedTrackFromCategory().
|
inlineprivate |
main menu priority tracks first
fallback in case there is no priority track
References INDEX_NOT_FOUND.
Referenced by SetSelectedTrackFromCategory().
|
inlineprivate |
References m_CategorySelected, m_DynamicMusicPlayerRegistry, and OnCategorySet().
Referenced by OnFadeoutFinished(), OnGameEvent(), OnLocationMatched(), and OnUpdate().
|
inlineprivate |
currently prioritize main menu track on DMP start
References GetWaitTimeForCategory(), INDEX_NOT_FOUND, m_Created, m_LastPlayedTrackBufferPerCategory, OnNextTrackSelected(), SelectRandomTrackIndexFromCategory(), and SelectRandomTrackIndexFromCategoryPriorityFlagFirst().
Referenced by DetermineTrackByCategory().
|
inlineprivate |
References g_Game.
Referenced by DynamicMusicPlayer(), OnGameEvent(), and OnUpdate().
|
inlineprivate |
References m_SoundPlaying.
Referenced by OnFadeoutFinished(), and OnProfileOptionChanged().
|
inlineprivate |
|
private |
Referenced by RefreshTracksCache().
|
private |
|
private |
Referenced by DynamicMusicPlayer(), OnNextTrackSelected(), and SetSelectedTrackFromCategory().
|
private |
Referenced by FadeoutTrack(), OnNextTrackSelected(), OnTrackEnded(), OnTrackStopped(), PlayTrack(), and ResetWaitingQueue().
|
private |
|
private |
Referenced by FadeoutTrack(), and OnUpdate().
|
private |
Referenced by DynamicMusicPlayer(), OnUpdate(), and ProcessFadeOut().
|
private |
Referenced by DynamicMusicPlayer(), FadeoutTrack(), OnUpdate(), and ProcessFadeOut().
|
private |
gets the playback mode as set in sounds menu; 0 - all; 1 - menu only
Referenced by DynamicMusicPlayer(), SelectRandomTrackIndexFromCategory(), and SetSelectedTrackFromCategory().
|
private |
Referenced by OnUpdate(), PlayerInsideOfLocationFilter(), PlayerInsideOfLocationFilter(), and RefreshTracksCache().
|
private |
Referenced by FadeoutTrack(), IsPlaybackActive(), OnFadeoutFinished(), OnLocationMatched(), OnTrackEnded(), OnTrackStopped(), PlayTrack(), ProcessFadeOut(), and StopTrack().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
static prio + filtered by the distance between player and center of zone
Referenced by DetermineTrackByCategory(), DynamicMusicPlayer(), and PlayerInsideOfLocationFilter().
|
private |
map of dynamically registered locations during runtime
Referenced by DynamicMusicPlayer(), OnUpdate(), and RefreshTracksCache().
|
private |
static + filtered by the distance between player and center of zone
Referenced by DynamicMusicPlayer(), OnUpdate(), and RefreshTracksCache().
|
private |
Referenced by IsPlaybackActive(), OnLocationMatched(), OnNextTrackSelected(), OnTrackEnded(), OnTrackStopped(), PlayTrack(), and ResetWaitingQueue().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by OnUpdate().
|
private |
Referenced by DynamicMusicPlayer(), and SelectRandomTrackIndexFromCategory().