#44037: mapgen: Split map_colatitude() into separate functions Open Date: 2022-03-05 22:22 Last Update: 2022-03-07 13:07 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-07 13:07 Updated by: alienvalkyrie * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: Server Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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