mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-10 21:32:23 +00:00
fix(cockpit): a river bridge keeps its water height through empty and coarse reads
A full-detail water read that sampled nothing (tiles not loaded) fell back to the geoid, and while a full read ran, a loaded-tile read with one coarse low probe did the same: on the Seine either dropped the eye ~27 m under the water until the next read. An empty read is now no answer, and once a full-detail read has answered only full-detail reads change the height. The read sequence numbers go: only one full-detail read runs at a time, so a late read can never be older than one already applied.
This commit is contained in:
1 parent
36a2216528
commit
18c15d0352
3 files changed
+70
-15
No files matched your search
@@ -1568,8 +1568,10 @@ eight probes 30 m out, the lowest probe taken as the water when it is 2 m to
|
||||
4,000 m above sea level. The first read starts from the tiles already loaded, then
|
||||
the full-detail read replaces it; it repeats every 5 s. Only one full-detail
|
||||
read runs at a time: while one is still running, a refresh reads the loaded
|
||||
tiles instead, and the slow read applies whenever it lands unless a newer
|
||||
one has. A failed read keeps the sea surface.
|
||||
tiles instead, and the slow read applies whenever it lands. Once a
|
||||
full-detail read has answered, loaded-tile reads no longer change the height,
|
||||
and a read that sampled nothing keeps the height it had. A failed read keeps
|
||||
the sea surface.
|
||||
|
||||
The HUD keeps its frame, vision styles, briefing, weather and Display/Radio
|
||||
utilities. It names the ship, reads `{type} · LIVE AIS · EYE {height}`, shows
|
||||
|
||||
Reference in new issue
Block a user