58 fprintf(
doc,
"<table>\n<tr bgcolor=#9bc3d1><th colspan=2>%s</th>"
59 "<th>%s<br/>%s</th><th>%s<br/>%s</th><th>%s</th></tr>\n\n",
60 _(
"Name"),
_(
"Cost"),
_(
"Upkeep"),
61 _(
"Requirement"),
_(
"Obsolete by"),
_(
"More info"));
73 fprintf(
doc,
"<tr><td>%s%s%s</td><td>%s</td>\n"
74 "<td align=\"center\"><b>%d</b><br/>%d</td>\n<td>",
83 strncpy(text,
Q_(
"?req:None"),
sizeof(text) - 1);
87 char text[512],
text2[512];
91 req->present ?
"%s" :
_(
"no %s"),
103 strncpy(text,
Q_(
"?req:None"),
sizeof(text) - 1);
107 char text[512],
text2[512];
111 pobs->present ?
"%s" :
_(
"no %s"),
113 text,
sizeof(text)));
119 "</td>\n<td>%s</td>\n</tr><tr><td colspan=\"5\">\n%s\n</td></tr>\n\n",
void manual_finalize(struct tag_types *tag_info, FILE *doc, enum manuals manual)
FILE * manual_start(struct tag_types *tag_info, int manual_number)
char * helptext_building(char *buf, size_t bufsz, struct player *pplayer, const char *user_text, const struct impr_type *pimprove)
const struct impr_type * valid_improvement(const struct impr_type *pimprove)
bool is_great_wonder(const struct impr_type *pimprove)
const char * improvement_name_translation(const struct impr_type *pimprove)
#define improvement_iterate_end
#define improvement_iterate(_p)
bool manual_buildings(struct tag_types *tag_info)
static bool manual_improvements(struct tag_types *tag_info, enum manuals manual)
const char * universal_name_translation(const struct universal *psource, char *buf, size_t bufsz)
#define requirement_vector_iterate_end
#define requirement_vector_iterate(req_vec, preq)
struct packet_ruleset_control control
int fc_snprintf(char *str, size_t n, const char *format,...)