]> git.pond.sub.org Git - empserver/commit
New option RAILWAYS
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 26 Oct 2008 17:24:41 +0000 (13:24 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 1 Nov 2008 15:40:15 +0000 (11:40 -0400)
commitb27298d4c5399bf4e029db069a59e58854cb0a7e
treeb8e19d08cdf30ebdaa258287dafde5c557e39427
parentcacc393c53bb9fa0f4e81e445652adf9a7215e0e
New option RAILWAYS

With RAILWAYS, highway-like sectors double as rail.  They need to be
at least 5% efficient to be operational, and then they additionally
extend rail into adjacent sectors that are at least 60% efficient.

New opt_RAILWAYS, SCT_HAS_RAIL(), sct_rail_track().  Update
sector_mcost(), bp_neighbors(), lnd_mar_one_sector() for RAILWAYS
mobility rules.  Update sinfra(), spyline(), satdisp_sect() to show
rail track instead of rail infrastructure for RAILWAYS.

New virtual sector selector track, implemented by nsc_sct_track().
13 files changed:
include/econfig-spec.h
include/sect.h
info/Options.t
info/Railroad.t [new file with mode: 0644]
info/Unit-types.t
src/lib/commands/sinf.c
src/lib/commands/spy.c
src/lib/common/move.c
src/lib/common/nsc.c
src/lib/common/path.c
src/lib/global/options.c
src/lib/subs/lndsub.c
src/lib/subs/satmap.c