Author: sveinung Date: Fri May 12 14:57:13 2017 New Revision: 35522 URL: http://svn.gna.org/viewcvs/freeciv?rev=35522&view=rev Log: freeciv-manual: show what unit obsoletes a unit.
See hrm Feature #659174 Modified: branches/S3_0/tools/civmanual.c Modified: branches/S3_0/tools/civmanual.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/tools/civmanual.c?rev=35522&r1=35521&r2=35522&view=diff ============================================================================== --- branches/S3_0/tools/civmanual.c (original) +++ branches/S3_0/tools/civmanual.c Fri May 12 14:57:13 2017 @@ -616,6 +616,12 @@ fprintf(doc, SUBITEM_BEGIN, "hitpoints"); fprintf(doc, _("Hitpoints: %d"), putype->hp); + fprintf(doc, SUBITEM_END); + fprintf(doc, SUBITEM_BEGIN, "obsolete"); + fprintf(doc, _("Obsolete by: %s"), + U_NOT_OBSOLETED == putype->obsoleted_by ? + Q_("?utype:None") : + utype_name_translation(putype->obsoleted_by)); fprintf(doc, SUBITEM_END); fprintf(doc, SUBITEM_BEGIN, "helptext"); helptext_unit(buf, sizeof(buf), NULL, "", putype); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits