diff --git a/AUTHORS b/AUTHORS index 2aa22e2c19..de631f00a7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,6 @@ Freeciv21 contributors are listed below in alphabetical order: +- blabber (Tobias Rehbein) - DobbyK - ilkkachu (Ilkka Virta) - jwrober (James Robertson) diff --git a/tools/civmanual.cpp b/tools/civmanual.cpp index 8b157c6801..8bf358986f 100644 --- a/tools/civmanual.cpp +++ b/tools/civmanual.cpp @@ -72,8 +72,6 @@ struct tag_types { const char *title_end; const char *sect_title_begin; const char *sect_title_end; - const char *image_begin; - const char *image_end; const char *item_begin; const char *item_end; const char *subitem_begin; @@ -102,12 +100,6 @@ struct tag_types html_tags = { // section title end "", - // image begin - "", - // item begin "
\n", @@ -142,12 +134,6 @@ struct tag_types wiki_tags = { // section title end "===", - // image begin - "[[Image:", - - // image end - ".png]]", - // item begin "----\n\n", @@ -332,8 +318,7 @@ static bool manual_command(struct tag_types *tag_info) fprintf(doc, _("%sFreeciv21 %s terrain help (%s)%s\n\n"), tag_info->title_begin, freeciv21_version(), game.control.name, tag_info->title_end); - fprintf(doc, "", - _("Terrain")); + fprintf(doc, "
%s
", _("Terrain")); fprintf(doc, "", _("Resources")); fprintf(doc, "", _("Move cost"), _("Defense bonus")); fprintf(doc, "", @@ -367,19 +352,15 @@ static bool manual_command(struct tag_types *tag_info) continue; } - fprintf(doc, "", tag_info->image_begin, - pterrain->graphic_str, tag_info->image_end, - terrain_name_translation(pterrain)); + fprintf(doc, "", terrain_name_translation(pterrain)); fprintf(doc, "\n", pterrain->output[O_FOOD], pterrain->output[O_SHIELD], pterrain->output[O_TRADE]); fprintf(doc, "
%sF/P/T%s%s
%s
%s
%s
%s
%s
%s
%s
(%s)
%s%s%s%s
%s%d/%d/%d\n"); for (r = pterrain->resources; *r; r++) { fprintf(doc, - "" - "\n", - tag_info->image_begin, (*r)->graphic_str, - tag_info->image_end, extra_name_translation(*r), + "\n", + extra_name_translation(*r), (*r)->data.resource->output[O_FOOD], (*r)->data.resource->output[O_SHIELD], (*r)->data.resource->output[O_TRADE]); @@ -477,7 +458,7 @@ static bool manual_command(struct tag_types *tag_info) } fprintf(doc, - "
%s%s%s%s%d/%d/%d
%s%d/%d/%d
\n" + "
%s
\n" "\n\n", _("Name"), _("Cost"), _("Upkeep"), _("Requirement"), _("Obsolete by"), _("More info")); @@ -496,11 +477,10 @@ static bool manual_command(struct tag_types *tag_info) nullptr); fprintf(doc, - "\n" + "\n" "\n
%s%s
%s
%s
%s
%s
%s%s%s%s
%s%d
%d
", - tag_info->image_begin, pimprove->graphic_str, - tag_info->image_end, improvement_name_translation(pimprove), - pimprove->build_cost, pimprove->upkeep); + improvement_name_translation(pimprove), pimprove->build_cost, + pimprove->upkeep); requirement_vector_iterate(&pimprove->reqs, req) {