Project

General

Profile

Actions

Feature #642

closed

client: keep track of continent and ocean sizes

Added by Alina Lenk 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
05/18/2024
Due date:
% Done:

0%

Estimated time:

Description

Update (known) continent and ocean sizes whenever tile info changes.


Files


Related issues 2 (0 open2 closed)

Blocked by Feature #641: Move additional continent info into common codeClosedAlina Lenk05/18/2024

Actions
Blocks Feature #629: Continent/ocean size requirementClosedAlina Lenk05/16/2024

Actions
Actions #1

Updated by Alina Lenk 6 months ago

  • Blocked by Feature #641: Move additional continent info into common code added
Actions #2

Updated by Alina Lenk 6 months ago

  • Blocks Feature #629: Continent/ocean size requirement added
Actions #3

Updated by Alina Lenk 6 months ago

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.

Actions #4

Updated by Alina Lenk 6 months ago

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()).

Actions #5

Updated by Alina Lenk 6 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF