Ticket #45039

ruleset.c: Separate loading action enabler sections

Date d'ouverture: 2022-07-07 03:10 Dernière mise à jour: 2022-07-16 20:33

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

Split from #41572.

Separate loading of action enabler sections from load_ruleset_game() to a new function. This new function should not care which file the action enablers actually are - it should be usable both for loading them from game.ruleset (as we currently do, and will do in compat mode for the lifetime of freeciv-3.2) and for loading them from the new actions.ruleset.

Ticket History (2/2 Histories)

2022-07-07 03:10 Updated by: cazfi
  • New Ticket "ruleset.c: Separate loading action enabler sections" created
2022-07-16 20:33 Updated by: dark-ether
Commentaire

as soon as the patch merges i will move the actions section and the action enabler sections but should the autoattack section be moved together from the game.ruleset loading? my opinion is that they should, as it actually is the auto action performer for attacks and we possibly can or will extend them to other actions. so in actions.ruleset we would have auto action performers, actions configuration and action enablers

Attachment File List

No attachments

Modifier

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