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

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu Oct 6 01:05:15 JST 2022


#45028: Document counters ruleset format

  Open Date: 2022-07-06 08:48
Last Update: 2022-10-06 01:05

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-06 01:05 Updated by: lachu

Comment:

Reply To cazfi
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++) {

0001-OSDN-45028-S-awomir-Lach-slawek-lach.art.pl.patch(16KB)
Move invocation of routine adding counters' comment
Still need to apply changes to each ruleset without using special script for this purpose.

---------------------------------------------------------------------
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