#44894: Negative unit_upkeep_offset_y Open Date: 2022-06-21 13:40 Last Update: 2022-06-21 13:40 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44894 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44894 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-21 13:40 Updated by: cazfi * New Ticket "Negative unit_upkeep_offset_y" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: Client common Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: We could let tileset author to define the upkeep icon placement with an alternative way, telling how much they are to overlap with the unit icon. Currently unit_upkeep_offset_y is applied from the top of the unit, so some calculation is needed to figure out how tall the unit is, and then to subtract wanted amount from unit_upkeep_offset_y. This alternative syntax would be indicated by a negative value (as it tells how much to subtract relative to unit bottom). -- 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/44894 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44894