extern void show_sect_stats(int);
extern void show_sect_capab(int);
extern void show_item(int);
+extern void show_news(int);
/* shpsub.c */
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
.TH Command SHOW
-.NA show "Characteristics of bridges, units, products or sectors"
+.NA show "Characteristics of bridges, units, products, news or sectors"
.LV Basic
.SY "show <land|nuke|plane|sector|ship> [b|s|c] [tech]"
-.SY "show <bridge|item|tower>"
+.SY "show <bridge|item|news|tower>"
The show command describes the characteristics of bridge spans, bridge
-towers, planes, ships, land units, nukes, items and sectors for a
+towers, planes, ships, land units, nukes, items, news and sectors for a
given technology level.
.s1
The format of each output is more fully described in separate info
pages (Ship-types, Nuke-types, etc.).
.s1
-Except for bridge (bridge span), items and tower (bridge tower), a
+Except for bridge (bridge span), items, news and tower (bridge tower), a
further parameter is required to indicate whether you wish information
about building (b), statistics (s) or capabilities (c) of the selected
type.
3mt fusion 7 210 10 325 $19000
.FI
.s1
-.SA "Ship-types, Nuke-types, Plane-types, Unit-types, Sector-types, Ships, Planes, LandUnits, Products"
+.SA "Ship-types, Nuke-types, Plane-types, Unit-types, Sector-types, Ships, Planes, LandUnits, Products, newspaper"
#include "nat.h"
#include "prototypes.h"
#include "nsc.h"
+#include "news.h"
struct look_list {
union {
ip->i_melt_denom, ip->i_name);
}
}
+
+void
+show_news(int tlev)
+{
+ int i, j;
+
+ pr("id category good will\n");
+ pr(" messsages\n");
+
+ for (i = 1; i < N_MAX_VERB + 1; i++) {
+ pr("%-2d %-20.20s %4d\n", rpt[i].r_uid,
+ page_headings[rpt[i].r_newspage], rpt[i].r_good_will);
+
+ for (j = 0; j < NUM_RPTS; j++)
+ pr(" %s\n", rpt[i].r_newstory[j]);
+ }
+}