Feature #642
closed
client: keep track of continent and ocean sizes
Added by Alina Lenk 6 months ago.
Updated 6 months ago.
Description
Update (known) continent and ocean sizes whenever tile info changes.
Files
- Blocked by Feature #641: Move additional continent info into common code added
Note: This patch does not include any code determining whether the current count is the actual full size of a given region, or whether the region is still bordering unknown tiles. We'll want something like that eventually, but we'll have to find a good spot to do it after we've received updated info for all tiles.
Alina Lenk wrote in #note-3:
we'll have to find a good spot to do it
Found a way to track it incrementally; updated the patch. This does add client-specific data to the civ_map struct that needs to be freed, so map_free() now also takes a server_side parameter (like map_init()).
- Status changed from In Review to Closed
Also available in: Atom
PDF