Incidencia #45993

Add universal kinds for tile, unit, city and player

Abrir Fecha: 2022-10-28 03:22 Última actualización: 2022-10-28 03:22

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

Details

Currently an idea to discuss, so no version supplied.

Possible prerequisite for #44779. We need a way to access context fields by name, other ones have associate VUT_*, maybe these ones also should. The problem here is that other objects do persist as long as a ruleset is loaded. Tiles persist during the game but we populate the map after we load the ruleset. Units and cities don't persist at all, but they have unique ids. Players for now don't even have any unique identifier within a game (probably they should, for many reasons). If we put requirements on these factors as we have e.g. for governments, we would need to put into them some function (leader name, id, coordinates...) instead of a pointer, that is a deviation from how we construct requirements now. Also, I have a vague idea of AI reasoning of game objects within a labeled graph, see http://forum.freeciv.org/f/viewtopic.php?t=93031

Ticket History (1/1 Histories)

2022-10-28 03:22 Updated by: ihnatus
  • New Ticket "Add universal kinds for tile, unit, city and player" created

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar