Remove hard-coded differences between highways and bridge heads

Let highways build and support bridges.  Allow bridge heads anywhere,
not just on the coast.
This commit is contained in:
Markus Armbruster 2008-02-12 07:10:33 +01:00 committed by Markus Armbruster
parent 9f1b4e2c81
commit e3658ff2f0
4 changed files with 14 additions and 17 deletions

View file

@ -170,6 +170,9 @@ extern struct dchrstr dchr[SCT_TYPE_MAX + 2];
extern struct dchrstr bigcity_dchr;
#define IS_BIG_CITY(type) (dchr[(type)].d_pkg == UPKG)
#define IS_BRIDGE_HEAD(type) \
((type) == SCT_BHEAD || (type) == SCT_HIWAY || (type) == SCT_BTOWER)
/* Minimal efficiency of sectors that can be knocked down (bridges) */
#define SCT_MINEFF 20