- Anzeige der Allianz im parteien-File

This commit is contained in:
Christian Schlittchen 2003-03-02 08:52:12 +00:00
parent 756e18108b
commit 64980aec64
1 changed files with 8 additions and 0 deletions

View File

@ -3512,10 +3512,18 @@ writeturn(void)
static void static void
out_faction(FILE *file, faction *f) out_faction(FILE *file, faction *f)
{ {
#ifdef ALLIANCES
fprintf(file, "%s (%s/%d) (%.3s/%.3s), %d Einh., %d Pers., $%d, %d %s\n",
f->name, itoa36(f->no), f->alliance?f->alliance->id:0,
LOC(default_locale, rc_name(f->race, 0)), neue_gebiete[f->magiegebiet],
f->no_units, f->number, f->money, turn - f->lastorders,
turn - f->lastorders != 1 ? "NMRs" : "NMR ");
#else
fprintf(file, "%s (%.3s/%.3s), %d Einh., %d Pers., $%d, %d %s\n", fprintf(file, "%s (%.3s/%.3s), %d Einh., %d Pers., $%d, %d %s\n",
factionname(f), LOC(default_locale, rc_name(f->race, 0)), factionname(f), LOC(default_locale, rc_name(f->race, 0)),
neue_gebiete[f->magiegebiet], f->no_units, f->number, f->money, neue_gebiete[f->magiegebiet], f->no_units, f->number, f->money,
turn - f->lastorders, turn - f->lastorders != 1 ? "NMRs" : "NMR "); turn - f->lastorders, turn - f->lastorders != 1 ? "NMRs" : "NMR ");
#endif
} }
void void