待辦事項 #44036

Move latitude from generator to common code

啟用日期: 2022-03-06 06:22 最後更新: 2022-03-08 18:53

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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 History (3/6 Histories)

2022-03-06 06:22 Updated by: alienvalkyrie
  • New Ticket "Move latitude from generator to common code" created
2022-03-06 08:28 Updated by: alienvalkyrie
評語

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 Updated by: alienvalkyrie
評語

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 Updated by: alienvalkyrie
  • 負責人 Update from (無) to alienvalkyrie
  • 處理結果 Update from to Accepted
2022-03-08 18:53 Updated by: alienvalkyrie
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入