Repository navigation
Features on water plots as the original: no trees, the oasis on the water - #90
Merged
Merged
Conversation
A forest or jungle on a coast or ocean plot (a scenario's or the World Builder's) drew its trees standing in the water. The original grows no trees there: features whose art is trees (TILE_ART_TYPE_TREES, the forest and the jungle) aren't drawn on water plots, and the tree pieces at their corners join up as at a forest's edge. Ice, fallout, the oasis and the others are drawn as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An oasis on a coast or ocean plot (a scenario's or the World Builder's) stood on the sea floor, its pool and sand under the water: only a few specks showed. The original stands it on the water, with its pool and sand rim over the sea: the plot's point is at the water's level there (CyPlot.getPoint().z 49.5 on water against 64 on flat land). Features that stand in their plot (the oasis, fallout) now stand at the water's level on water plots; the tiled ones (trees, ice) are as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
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.
What it changes
Trees. A forest or jungle on a coast or ocean plot (placed by a scenario or the World Builder) drew its trees standing in the water. The original grows no trees there. The features whose art is trees (
TILE_ART_TYPE_TREESinCIV4ArtDefines_Feature.xml: the forest and the jungle) are now left out on water plots, and the tree pieces at their corners join up as at a forest's edge. Ice (half tiling), fallout and flood plains still show there, as in the original.The oasis. On a water plot it stood on the sea floor, its pool and sand rim under the water, so only a few specks showed. The original stands it on the water with its pool and rim over the sea: a water plot's point is at the water's level (
CyPlot.getPoint().z49.5 on water against 64 on flat land). Features that stand in their plot (the oasis; fallout too, not checked against the original) now stand at the water's level on water plots; tiled ones (trees, ice) are as before.src/render/MapView.cpponly.Original (Wine) left, OpenCiv4 right:
(The OpenCiv4 pictures have #62's camera and #81's water on; the oasis pair also has #81's distance fog.)
How it was checked
ctestpasses: 13/13 (macOS, Release).--turns 100 --map Fractal --size STANDARD --seed 7gives the same checksum as master on every turn, ending atD7D43800(drawing only).Merging with #77 (
fix/land-ice) clashes on one line inbuildFeatures'add: keep #77'siceOverLandpush and this branch'sstd::max(ground(...), at.z).🤖 Generated with Claude Code