subs: Make shp_check_nav() more like lnd_check_mar()
No functional change. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
d87bd96496
commit
c70d9375ef
5 changed files with 51 additions and 56 deletions
|
@ -30,7 +30,7 @@
|
|||
* Dave Pare
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1998
|
||||
* Markus Armbruster, 2004-2010
|
||||
* Markus Armbruster, 2004-2014
|
||||
*/
|
||||
|
||||
|
||||
|
@ -92,6 +92,14 @@ struct sctstr {
|
|||
unsigned char sct_defense; /* Defensive value of a sector */
|
||||
};
|
||||
|
||||
enum d_navigation {
|
||||
NAV_NONE, /* ships can't navigate */
|
||||
NAVOK, /* ships can always navigate */
|
||||
NAV_02, /* requires 2% effic to navigate */
|
||||
NAV_CANAL, /* requires 2% effic to navigate and M_CANAL capability */
|
||||
NAV_60 /* requires 60% effic to navigate */
|
||||
};
|
||||
|
||||
struct dchrstr {
|
||||
unsigned char d_uid;
|
||||
char d_mnem; /* map symbol */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue