Skip to content

Disable 2D Backgrounds Improvements - #7542

Merged
serprex merged 1 commit into
HarbourMasters:developfrom
Jameriquiah:more-fog-fixes
Nov 20, 2026
Merged

serprex merged 1 commit into
HarbourMasters:developfrom
Jameriquiah:more-fog-fixes

Conversation

@Jameriquiah

@Jameriquiah Jameriquiah commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

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

@serprex
serprex merged commit 4c45cff into HarbourMasters:develop Nov 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants