Incidencia #43198

Bigger flag images to diplomacy dialog

Abrir Fecha: 2021-11-12 11:59 Última actualización: 2022-06-26 21:14

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

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

2021-11-12 11:59 Updated by: cazfi
  • New Ticket "Bigger flag images to diplomacy dialog" created
2021-11-12 20:25 Updated by: cazfi
  • Details Updated
2022-06-26 21:14 Updated by: cazfi
  • Hito Update from (Ninguno) to 3.2.0
Comentario

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.

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar