Rebase of Hvy Metal I final version

Straightforward forward port.  Drop the code to reset track on
startup.  It's not necessary, and it breaks linking of empdump.
This commit is contained in:
Markus Armbruster 2008-01-19 15:19:13 +01:00
parent abd64835c7
commit 5d0f5e69ee
25 changed files with 349 additions and 25 deletions

View file

@ -73,7 +73,10 @@ sinfra(void)
pr("%4d%% ", sect.sct_effic);
pr("%4d%% ", sect.sct_road);
prmobcost(&sect, MOB_MOVE);
pr("%4d%% ", sect.sct_rail);
if (opt_RAILWAYS)
pr(sect.sct_track ? " yes " : " no ");
else
pr("%4d%% ", sect.sct_rail);
prmobcost(&sect, MOB_RAIL);
pr("%4d%% ", SCT_DEFENSE(&sect));
pr("%5.2f\n", sector_strength(&sect));