(show_news, news, empfile[], page_headings[], page_headings_symbols[]):

Change page_headings[] to struct symbol and removed
page_headings_symbols[].
This commit is contained in:
Ron Koenderink 2006-01-30 22:26:48 +00:00
parent 426eece569
commit 7b9fdf8b95
7 changed files with 19 additions and 34 deletions

View file

@ -192,7 +192,7 @@ struct empfile empfile[] = {
{EF_SECTOR_NAVIGATION, "sector-navigation", NULL, symbol_ca,
PTR_CACHE(sector_navigation, EFF_CFG)},
{EF_PAGE_HEADINGS, "page-headings", NULL, symbol_ca,
PTR_CACHE(page_headings_symbols, EFF_CFG)},
PTR_CACHE(page_headings, EFF_CFG)},
/* Views */
{EF_COUNTRY, "country", NULL, cou_ca, UNMAPPED_CACHE(struct natstr, 0)},

View file

@ -43,20 +43,22 @@
#include "misc.h"
#include "news.h"
#include "nsc.h"
char *page_headings[] = {
/* N_NOTUSED*/ "Comics",
/* N_FOR */ "Foreign Affairs",
/* N_FRONT */ "The Front Line",
/* N_SEA */ "The High Seas",
/* N_SKY */ "Sky Watch",
/* N_MISS */ "Guidance Systems",
/* N_ARTY */ "Firestorms",
/* N_ECON */ "Business & Economics",
/* N_COLONY */ "The Frontier",
/* N_HOME */ "The Home Front",
/* N_SPY */ "Espionage",
/* N_TELE */ "Telecommunications"
struct symbol page_headings[] = {
{N_NOTUSED, "Comics"},
{N_FOR, "Foreign Affairs"},
{N_FRONT, "The Front Line"},
{N_SEA, "The High Seas"},
{N_SKY, "Sky Watch"},
{N_MISS, "Guidance Systems"},
{N_ARTY, "Firestorms"},
{N_ECON, "Business & Economics"},
{N_COLONY, "The Frontier"},
{N_HOME, "The Home Front"},
{N_SPY, "Espionage"},
{N_TELE, "Telecommunications"},
{0, NULL}
};
static char no_news[] = "does nothing in particular to %s";

View file

@ -792,19 +792,3 @@ struct symbol sector_navigation[] = { /* for d_nav */
{NAV_60, "bridge"},
{0, NULL}
};
struct symbol page_headings_symbols[] = {
{N_NOTUSED, "Not Used"},
{N_FOR, "Foreign Affairs"},
{N_FRONT, "The Front Line"},
{N_SEA, "The High Seas"},
{N_SKY, "Sky Watch"},
{N_MISS, "Guidance Systems"},
{N_ARTY, "Firestorms"},
{N_ECON, "Business & Economics"},
{N_COLONY, "The Frontier"},
{N_HOME, "The Home Front"},
{N_SPY, "Espionage"},
{N_TELE, "Telecommunications"},
{0, NULL}
};