[Freeciv-tickets] [freeciv] #45028: Document counters ruleset format

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Oct 5 13:31:34 JST 2022


#45028: Document counters ruleset format

  Open Date: 2022-07-06 02:48
Last Update: 2022-10-05 07:31

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45028
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45028

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-05 07:31 Updated by: cazfi

Comment:

I'm yet to test the patch, but the rulesave.c change seems like you are now writing the counters documentation between clauses documentation and actual clauses, and not just before actual counters:
/* Clauses */
comment_clauses(sfile);

+  /* Counters */
+  comment_counters(sfile);
+
sect_idx = 0;
for (i = 0; i < CLAUSE_COUNT; i++) {


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Split from #44345.
Add the ruleset comments about counters sections. Remember also data/ruledit/comments-3.2.txt, and code changes to tools/ruleutil/comments.ch + call it from tools/ruleutil/rulesave.c

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45028
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45028



More information about the Freeciv-tickets mailing list
Back to archive index