branchrust_reboot/main/naval_update/fog_fixescancel
7 Commits over 0 Days - ∞cph!
Fixed some awkward interactions with the underground layer controller and deep sea toggle
Refactored fog of war into two separate sets of fog - mainland and deep sea
This solves the hardcore mode and deep sea not coexisting as they both tried to write into the same fog images
Re-enabled opening the map in hardcore/deep sea
Added new server.deepseafogofwar convar, defaults to true on all game modes
Fixed deep sea fog not working on death screen correctly
Fixed fog not calculating while in deep sea until the player opens the map at least once
Possibly fixed fog revealing a couple of pixels on the other side of the world
If the player isn't in the deep sea and they swap to it on the map, focus on the exit portal as that's most likely to have some revealed space
Fix NRE when spawning deep sea with no cities
Switch fog of war drawing to main thread, seems to resolve loading issues
Don't allow fog updates until we've received the current state from the server