empserver/include
Markus Armbruster c03db4c5ef shpsub: Make shp_check_nav() return more useful information
Some callers have to second-guess shp_check_nav() to figure out
whether CN_LANDLOCKED means "too big to fit into the canal" or "can't
go there at all".

Fix that by returning d_navigation.  CN_LANDLOCKED becomes either
NAV_CANAL or NAV_NONE, CN_CONSTRUCTION becomes either NAV_02 or
NAV_60, and CN_NAVIGABLE becomes NAVOK.

The CN_NAVIGABLE, ... codes are now unused.  Drop them.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2014-02-16 13:19:25 +01:00
..
actofgod.h Update copyright notice 2014-01-02 14:33:48 +01:00
budg.h Update copyright notice 2014-01-02 14:33:48 +01:00
chance.h Fix PRNG seeding to resist guessing 2013-05-08 06:55:21 +02:00
com.h Update copyright notice 2014-01-02 14:33:48 +01:00
combat.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
commands.h Update copyright notice 2014-01-02 14:33:48 +01:00
commodity.h Update copyright notice 2014-01-02 14:33:48 +01:00
damage.h Update copyright notice 2014-01-02 14:33:48 +01:00
distribute.h Update copyright notice 2014-01-02 14:33:48 +01:00
econfig-spec.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
empio.h Update copyright notice 2014-01-02 14:33:48 +01:00
empobj.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
empthread.h Update copyright notice 2014-01-02 14:33:48 +01:00
file.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
game.h Update copyright notice 2014-01-02 14:33:48 +01:00
ioqueue.h Update copyright notice 2014-01-02 14:33:48 +01:00
item.h Update copyright notice 2014-01-02 14:33:48 +01:00
journal.h Update copyright notice 2014-01-02 14:33:48 +01:00
land.h Update copyright notice 2014-01-02 14:33:48 +01:00
loan.h Update copyright notice 2014-01-02 14:33:48 +01:00
lost.h Update copyright notice 2014-01-02 14:33:48 +01:00
lwp.h Update copyright notice 2014-01-02 14:33:48 +01:00
map.h Update copyright notice 2014-01-02 14:33:48 +01:00
match.h Update copyright notice 2014-01-02 14:33:48 +01:00
misc.h Update copyright notice 2014-01-02 14:33:48 +01:00
mission.h Update copyright notice 2014-01-02 14:33:48 +01:00
nat.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
news.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
nsc.h Remove option TREATIES 2014-02-16 11:44:14 +01:00
nuke.h Update copyright notice 2014-01-02 14:33:48 +01:00
optlist.h Update copyright notice 2014-01-02 14:33:48 +01:00
path.h path: New DIR_BACK() 2014-02-16 12:00:18 +01:00
plague.h Update copyright notice 2014-01-02 14:33:48 +01:00
plane.h Update copyright notice 2014-01-02 14:33:48 +01:00
player.h tests: New test-suite-only command __cmd 2014-01-19 10:16:24 +01:00
power.h Update copyright notice 2014-01-02 14:33:48 +01:00
product.h Update copyright notice 2014-01-02 14:33:48 +01:00
proto.h Update copyright notice 2014-01-02 14:33:48 +01:00
prototypes.h shpsub: Move declarations to ship.h 2014-02-16 13:19:25 +01:00
queue.h Update copyright notice 2014-01-02 14:33:48 +01:00
retreat.h Update copyright notice 2014-01-02 14:33:48 +01:00
sect.h shpsub: Make shp_check_nav() return more useful information 2014-02-16 13:19:25 +01:00
server.h Update copyright notice 2014-01-02 14:33:48 +01:00
service.h Update copyright notice 2014-01-02 14:33:48 +01:00
ship.h shpsub: Make shp_check_nav() return more useful information 2014-02-16 13:19:25 +01:00
tel.h Update copyright notice 2014-01-02 14:33:48 +01:00
testing.h tests: New test-suite-only command __cmd 2014-01-19 10:16:24 +01:00
trade.h Update copyright notice 2014-01-02 14:33:48 +01:00
types.h shpsub: Make shp_check_nav() return more useful information 2014-02-16 13:19:25 +01:00
unit.h Update copyright notice 2014-01-02 14:33:48 +01:00
update.h Update copyright notice 2014-01-02 14:33:48 +01:00
version.h Update copyright notice 2014-01-02 14:33:48 +01:00
xdump.h Update copyright notice 2014-01-02 14:33:48 +01:00
xy.h Update copyright notice 2014-01-02 14:33:48 +01:00