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:
parent
cacc393c53
commit
b27298d4c5
13 changed files with 93 additions and 7 deletions
|
@ -265,7 +265,7 @@ satdisp_sect(struct sctstr *sp, int acc)
|
|||
dchr[sp->sct_type].d_mnem,
|
||||
sp->sct_own, roundintby((int)sp->sct_effic, acc / 2),
|
||||
roundintby((int)sp->sct_road, acc / 2),
|
||||
roundintby((int)sp->sct_rail, acc / 2),
|
||||
opt_RAILWAYS ? !!sct_rail_track(sp) : roundintby(sp->sct_rail, acc / 2),
|
||||
roundintby((int)sp->sct_defense, acc / 2),
|
||||
roundintby(sp->sct_item[I_CIVIL], acc),
|
||||
roundintby(sp->sct_item[I_MILIT], acc),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue