(EF_SECTOR_NAVIGATION, sector_navigation): New.

(empfile): Add it.
(dchr_ca): Use it.
(NAV_NONE): New.
This commit is contained in:
Ron Koenderink 2006-01-17 21:42:02 +00:00
parent 18902e45d0
commit 4f20f3dd9c
5 changed files with 15 additions and 1 deletions

View file

@ -145,6 +145,7 @@ enum {
EF_PACKING,
EF_RESOURCES,
EF_NATION_STATUS,
EF_SECTOR_NAVIGATION,
/* Views */
EF_COUNTRY,
/* Number of types: */

View file

@ -237,6 +237,7 @@ extern struct symbol agreement_statuses[];
extern struct symbol plague_stages[];
extern struct symbol packing[];
extern struct symbol resources[];
extern struct symbol sector_navigation[];
/* src/lib/subs/nstr.c */
extern int nstr_comp(struct nscstr *np, int len, int type, char *str);

View file

@ -108,6 +108,7 @@ struct dchrstr {
};
/* for d_nav */
#define NAV_NONE 0 /* ships can't navigate */
#define NAVOK 1 /* ships can always navigate */
#define NAV_02 2 /* requires 2% effic to navigate */
#define NAV_60 3 /* requires 60% effic to navigate */