Repository navigation
Disable 2D Backgrounds Improvements - #7542
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a couple of improvements to the enhancement to give custom scenes more optional freedom
gated both standard and ruined market fog control behind an indoor flag check, all vanilla market scenes are flagged in their scene header as indoor scenes, if the header is changed to outdoors, the fog control is ignored, allowing a modder to put their own outdoor light/fog settings to make use of dynamic time of day lighting (only gated it at all as to not break djipi's, or else invalid light values would load and horrific visual bugs would ensue, reminiscent of the kakariko weather glitch)
resync skybox when time of day rolls over midnight (only useful if either time flow is added to market via a custom scene header, or if the user is changing the time of day with the save editor)
added enabling of the sun and moon to render in the market
added the back alley bombchu shop to the skybox control list (not sure why it was missing in the first place)
in
z_scene_otr.cpp, records the number of lights when entering a scene (this was leftover from an earlier attempt at gating fog control prior to changing it to check indoor/outdoor flag, kept it in however as it should be recording the light count anyway. otherwise its seeing a stale 0, which seems to be harmless anyway)Build Artifacts