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().
This commit is contained in:
Markus Armbruster 2008-10-26 13:24:41 -04:00
parent cacc393c53
commit b27298d4c5
13 changed files with 93 additions and 7 deletions

View file

@ -193,6 +193,7 @@ the unit can fire 'general unit flak' (see "info Flak")
the unit is a spy
.L train
the unit is a train, and can't be loaded on land units
(see "info Railroad")
.L heavy
the unit cannot be carried on land units or ships, not even supply ships
.in
@ -235,4 +236,3 @@ marines 1 5f 10s xlight light marine
.FI
.s1
.SA "land, LandUnits"