-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Major features - Added `GlobalMusic` module to system config (change end times, bramble dimension, and final end times music) (Resolves #894) - Slides are now loaded in the background instead of freezing your game. Brings load time of current Eyes of the Past dev build from 2.5 minutes to 40 seconds (hooray). (Fixes #812) ## Improvements - Setting `parentPath` will be more robust on most props (retries the build operation until it finds the parent) ## Bug fixes - Fix quantum planet NRE when body gets updated (astro object gets recreated) - Fix custom signal NRE that happens when going to solar system to get prefabs for eye - Fixed global bramble music not playing because all dimensions have an ambient audio volume - No more infinite load when warping back to Outer Wilds system with the Vessel
- Loading branch information
Showing
29 changed files
with
1,110 additions
and
666 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using NewHorizons.Utility.Files; | ||
using OWML.Common; | ||
using UnityEngine; | ||
|
||
namespace NewHorizons.Components.EOTE | ||
{ | ||
public class DreamWorldEndTimes : MonoBehaviour | ||
{ | ||
private AudioType _endTimesAudio = AudioType.EndOfTime; | ||
private AudioType _endTimesDreamAudio = AudioType.EndOfTime_Dream; | ||
|
||
public void SetEndTimesAudio(AudioType audio) | ||
{ | ||
_endTimesAudio = audio; | ||
} | ||
|
||
public void AssignEndTimes(OWAudioSource endTimesSource) => Assign(endTimesSource, _endTimesAudio); | ||
|
||
public void SetEndTimesDreamAudio(AudioType audio) | ||
{ | ||
_endTimesDreamAudio = audio; | ||
} | ||
|
||
public void AssignEndTimesDream(OWAudioSource endTimesSource) => Assign(endTimesSource, _endTimesDreamAudio); | ||
|
||
public static void Assign(OWAudioSource endTimesSource, AudioType audio) | ||
{ | ||
endTimesSource.Stop(); | ||
endTimesSource.AssignAudioLibraryClip(audio); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.