Ticket #45993

Add universal kinds for tile, unit, city and player

Eröffnet am: 2022-10-28 03:22 Letztes Update: 2022-10-28 03:22

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

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-Verlauf (1/1 Historien)

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

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden