Skip to content

Comments

Add river delta textures#892

Open
ajhalme wants to merge 1 commit intoC7-Game:Developmentfrom
ajhalme:riverdelta
Open

Add river delta textures#892
ajhalme wants to merge 1 commit intoC7-Game:Developmentfrom
ajhalme:riverdelta

Conversation

@ajhalme
Copy link
Contributor

@ajhalme ajhalme commented Feb 19, 2026

Fixes #107, missing river delta textures. See also Draft PR #433 about a tile map variant, linked to #407.

There are two river textures in the Civ3 Art assets, a regular set and one for river deltas, to be drawn when the river meets the sea. The delta textures are not currently being loaded in.

This patch adds the textures, and applies according to a simple heuristic. Given the close relationship between the two tile sets and how they are deployed, the implementation reduces to a simple check to see whether the tile drawing is happening next to water tiles or not.

Sample save file

Given how closely related to the regular river tiles the delta tiles are, regardless of how the tile map effort proceeds, #433 can probably be closed off.

--

river_delta_trio riverdelta_old riverdelta_new riverdelta_original

Note the non-delta river segments in the delta texture:
tilemap_riverdelta

Copy link
Contributor

@stavrosfa stavrosfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I tested it with a few maps, looks good to me.

@stavrosfa
Copy link
Contributor

stavrosfa commented Feb 19, 2026

Hmm, I think I found something.

Editor
image

vs

OpenCiv3
image

I think we need to also check that it's the "ending" of the river too, so only one neighbor can have a river if it's a delta

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.

Rivers - Add Delta Support

2 participants