[Freeciv-tickets] [freeciv] #44037: mapgen: Split map_colatitude() into separate functions

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sun Mar 6 06:22:37 JST 2022


#44037: mapgen: Split map_colatitude() into separate functions

  Open Date: 2022-03-05 22:22
Last Update: 2022-03-05 22:22

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44037
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44037

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-05 22:22 Updated by: alienvalkyrie
 * New Ticket "mapgen: Split map_colatitude() into separate functions" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: alienvalkyrie
         Owner: alienvalkyrie
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Server
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Required for #44036. Split map_colatitude() into
an initial function handling tile position and topology, to figure out how far north/south a tile is
a second function adding in game settings (alltemperate/singlepole) to compute latitude (signed, for #44035)
a final function translating signed latitude into absolute colatitude for the map generator
Splitting the first and second should also enable actual singlepole torus maps with no added effort.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44037
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44037



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index