From Ray Hyatt:

(dchrstr): New member d_maxpop.
(dchr): Initialize it.
(max_pop): Use it.  Use dchr[SCT_MINE].d_maxpop when called with null
argument.  RES_POP now affects mountains and plains as well.
This commit is contained in:
Markus Armbruster 2005-02-12 16:17:57 +00:00
parent 8a093f32f1
commit 153527a3eb
3 changed files with 46 additions and 49 deletions

View file

@ -100,6 +100,7 @@ struct dchrstr {
int d_build; /* cost multiplier for eff */
int d_lcms; /* lcm's needed per point of eff */
int d_hcms; /* hcm's needed per point of eff */
int d_maxpop; /* maximum population */
char *d_name; /* full name of sector type */
};