DELTA 23581 0 10610
SVN  —T¥S‹, ¼ €‚) QÖN€‡H /áu€; Û¼@  int i;
  int sect_idx;
  struct advance *a_none = advance_by_number(A_NONE);


  if (sfile == NULL) {
    return FALSE;
  }

  for (i = 0; i < MAX_NUM_USER_TECH_FLAGS; i++) {
    const char *flagname = tech_flag_id_name(i + TECH_USER_1);
    const char *helptxt = tech_flag_helptxt(i + TECH_USERect_idx = 0;
  advance_iterate(A_FIRST, pa) {
    char path[512];
    const char *flag_names[TF_COUNT];
    int set_count;
    int flagi;

    fc_snprintf(path, sizeof(path), "advance_%d", sect_idx++);

    save_name_translation(sfile, &(pa->name), path);

    save_tech_ref(sfile, pa->require[AR_ONE], path, "req1");
    save_tech_ref(sfile, pa->require[AR_TWO], path, "req2");
    if (pa->require[AR_ROOT] != a_none) {
      save_tech_ref(sfile, pa->require[AR_ROOT], path, "root_req");
    }

    secfile_insert_str(sfile, pa->graphic_str, "%s.graphic", path);
    if (strcmp("-", pa->graphic_alt)) {
      secfile_insert_str(sfile, pa->graphic_alt, "%s.graphic_alt", path);
    }
    if (pa->bonus_message != NULL) {
      secfile_insert_str(sfile, pa->bonus_message, "%s.bonus_message", path);
    }

    set_count = 0;
    for (flagi = 0; flagi < TF_COUNT; flagi++) {
      if (advance_has_flag(advance_index(pa), flagi)) {
        flag_names[set_count++] = tech    if (pa->preset_cost >= 0) {
      secfile_insert_int(sfile, pa->preset_cost, "%s.cost", path);
    }

    save_strvec(sfile, pa->helptext, path, "helptext");

  } advance_iterate_end;ENDREP
id: thd.5js.r23637/1521
type: file
pred: thd.5js.r23581/10639
count: 3
text: 23637 0 1494 21203 34affeeb26c16f71548e159d1aba6f53
cpath: /trunk/tools/ruledit/rulesave.c
copyroot: 21464 /trunk/tools

PLAIN
K 11
Makefile.am
V 22
file sso.5js.r23539/90
K 9
ruledit.c
V 24
file ssq.5js.r23586/1005
K 10
rulesave.c
V 24
file thd.5js.r23637/1521
K 10
rulesave.h
V 25
file thf.5js.r23535/12148
END
ENDREP
id: ssm.5js.r23637/1918
type: dir
pred: ssm.5js.r23586/1400
count: 6
text: 23637 1719 186 186 73d03695f0e9579c3b43bc10c3001781
cpath: /trunk/tools/ruledit
copyroot: 21464 /trunk/tools

PLAIN
K 11
Makefile.am
V 24
file 4pk.5js.r23434/6909
K 11
civmanual.c
V 24
file 2m5.5jt.r23402/9593
K 10
download.c
V 24
file 4pl.5js.r22272/2613
K 10
download.h
V 24
file 4pm.5js.r22272/2804
K 9
modinst.c
V 24
file bj7.5ck.r21139/5112
K 9
modinst.h
V 23
file 76i.5ck.r21180/153
K 11
mpcmdline.c
V 25
file 73v.5ck.r21302/10329
K 11
mpcmdline.h
V 25
file 73w.5ck.r20760/16287
K 6
mpdb.c
V 23
file bjc.5ck.r21142/258
K 6
mpdb.h
V 24
file bje.5ck.r20961/5129
K 12
mpgui_gtk2.c
V 24
file 4pn.5lm.r23309/6642
K 12
mpgui_gtk3.c
V 24
file 4pn.5ln.r23495/1490
K 12
mpgui_qt.cpp
V 24
file a65.5ck.r21131/1269
K 10
mpgui_qt.h
V 25
file a67.5ck.r20760/15936
K 7
ruledit
V 23
dir ssm.5js.r23637/1918
END
ENDREP
id: 4pj.5js.r23637/2802
type: dir
pred: 4pj.5js.r23586/2285
count: 94
text: 23637 2103 686 686 f8df9ba8097be3ea342fa92557ba3830
props: 21472 0 108 0 5b808f5169f169213132d517e2301fcd
cpath: /trunk/tools
copyroot: 21464 /trunk/tools

PLAIN
K 9
ABOUT-NLS
V 24
file fu.5ck.r23462/85000
K 7
AUTHORS
V 24
file 5u.5ck.r22143/14016
K 7
COPYING
V 19
file 1h.0.r9643/400
K 9
ChangeLog
V 26
file 6l.5ck.r22811/6091752
K 7
INSTALL
V 21
file 6.5ck.r23626/897
K 11
Makefile.am
V 23
file 59.5ck.r23570/5773
K 4
NEWS
V 24
file 6m.5ck.r23374/75525
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 22
dir 8.5ck.r23602/10982
K 10
autogen.sh
V 24
file 12o.5ck.r23626/1124
K 9
bootstrap
V 22
dir 2p5.5ck.r23391/985
K 6
client
V 22
dir d.5ck.r23632/36597
K 6
common
V 21
dir p.5ck.r23625/5793
K 12
configure.ac
V 25
file 149.5ck.r23622/90334
K 4
data
V 22
dir w.5ck.r23610/36144
K 6
debian
V 22
dir 5w.5ck.r23303/4506
K 12
dependencies
V 23
dir 2yu.5ck.r23272/7188
K 11
diff_ignore
V 24
file qq.5ck.r21039/26581
K 3
doc
V 22
dir k7.5ck.r23634/2722
K 10
fc_version
V 25
file 2lo.5en.r23610/21425
K 2
m4
V 23
dir 12p.5ck.r23630/2514
K 7
scripts
V 24
dir 2yo.5ck.r23535/11403
K 6
server
V 21
dir z.5ck.r23633/4798
K 5
tests
V 22
dir 2g9.5ck.r22096/825
K 5
tools
V 23
dir 4pj.5js.r23637/2802
K 12
translations
V 24
dir t0a.5ck.r23622/90150
K 7
utility
V 22
dir 1c.5ck.r23586/5508
K 3
vms
V 25
dir u9.5ck.r21528/1396085
K 5
win32
V 23
dir 2eu.5ck.r23551/2077
END
ENDREP
id: 3.5ck.r23637/4242
type: dir
pred: 3.5ck.r23634/4155
count: 16760
text: 23637 3034 1195 1195 b963d4ae060ed172222bcab3bbf1c627
props: 23244 4830 282 0 e4bb46e81629a60eef613b169b23a9ea
cpath: /trunk
copyroot: 15280 /trunk

PLAIN
K 8
branches
V 19
dir 1.0.r23636/4719
K 4
tags
V 20
dir 2.0.r23370/96893
K 5
trunk
V 21
dir 3.5ck.r23637/4242
K 7
website
V 21
dir 3ge.0.r22980/2263
END
ENDREP
id: 0.0.r23637/4632
type: dir
pred: 0.0.r23636/5039
count: 23637
text: 23637 4466 153 153 15cd21a9ae0535e4b13e4557de46f5ef
cpath: /
copyroot: 0 /

thd.5js.t23636-1 modify true false /trunk/tools/ruledit/rulesave.c


4632 4779
