Ticket #43198

Bigger flag images to diplomacy dialog

Eröffnet am: 2021-11-12 11:59 Letztes Update: 2022-06-26 21:14

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

Working on the flag svgs it's started annoy me a bit that we have some quite highly detailed flags, but that is completely wasted in that we shrink them to some tiny pngs and ever only show those couple of pixels. One place where we could show a bigger flag image would be the diplomacy dialog.

The simplest way to do this would be to just add another set of flag pngs for the tileset to use - the one shown in diplomacy dialog, and which we then make a much higher resolution one compared to normal flag. However, the simplistic implementation would be a bit wasteful of memory (if that really matter these days) in that those high resolution images would be in memory for all the nations (over 500 of them) even if only a couple of them are in the current game.

As part of #43200, this has also been posted to http://forum.freeciv.org/f/viewtopic.php?f=14&t=92031

Ticket-Verlauf (3/3 Historien)

2021-11-12 11:59 Aktualisiert von: cazfi
  • New Ticket "Bigger flag images to diplomacy dialog" created
2021-11-12 20:25 Aktualisiert von: cazfi
  • Details Updated
2022-06-26 21:14 Aktualisiert von: cazfi
  • Meilenstein Update from (Keine) to 3.2.0
Kommentar

Reply To cazfi

The simplest way to do this would be to just add another set of flag pngs for the tileset to use - the one shown in diplomacy dialog, and which we then make a much higher resolution one compared to normal flag.

I've now started with a different approach - if the feature is enabled (requires .svg support from the client, and user choice even then), we'll use .svg flags and scale those.

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden