Ticket #44036

Move latitude from generator to common code

Eröffnet am: 2022-03-06 06:22 Letztes Update: 2022-03-08 18:53

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Required for #44035. Move basic latitude code from server/generator/map_topology.[ch] to common/map.[ch]. The map_colatitude() function should remain in map_topology.[ch] to convert (signed) latitude into mapgen-internal, absolute colatitude.

Ticket-Verlauf (3/6 Historien)

2022-03-06 06:22 Aktualisiert von: alienvalkyrie
  • New Ticket "Move latitude from generator to common code" created
2022-03-06 08:28 Aktualisiert von: alienvalkyrie
Kommentar

This isn't as straightforward as I thought. Tile latitude depends on alltemperate and singlepole settings, which are only visible to the server.

I can see three options:

  • only check those settings on the server (for now) ~> no accurate latitude calculations in the client, which means we can't use it for requirements yet
  • resolve #44038 first and send its new settings to the client
  • send alltemperate and singlepole to the client (for the brief period of time before being replaced in #44038)

The latter option would probably be the most reasonable (albeit the silliest), although the first one could also work, given the temporary nature of the issue.

2022-03-07 02:13 Aktualisiert von: alienvalkyrie
Kommentar

Reply To alienvalkyrie

send alltemperate and singlepole to the client (for the brief period of time before being replaced in #44038)

I've decided to go with that option ~> #44040

2022-03-07 02:46 Aktualisiert von: alienvalkyrie
  • Verantwortlicher Update from (Keine) to alienvalkyrie
  • Lösung Update from Keine to Accepted
2022-03-08 18:53 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden