Add river delta textures#892
Conversation
stavrosfa
left a comment
There was a problem hiding this comment.
Thanks! I tested it with a few maps, looks good to me.
|
Rivers are definitely not done yet, both in terms of generation and gameplay. I didn't know there were 2 different tile sets, but it seems indeed that they follow some kind of pattern. I think it has more to do with map generation rather than a random arethmetic variance. Or perhaps the variance comes from what the tile/texture the river is sitting on is. From a quick google search I found these 2 threads that might be useful in figuring out which is used and why https://forums.civfanatics.com/threads/deltarivers-pcx-anyone-know-when-its-used-other-than-for-deltas.675402/ The only difference I see is where the red arrow points, we have a Delta, whereas in the Editor it shows up as a regular river (parhaps it's the beginning of the river?). Ours looks more like what I would expect though 😅 In any case, I think this is ok to merge. |










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.
--
Note the non-delta river segments in the delta texture:
