update: Track oldowned civilians in nat_budget[]
Replace pops[] by nat_budget[].oldowned_civs. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
4a714a37da
commit
6eb4fd3cbf
6 changed files with 13 additions and 22 deletions
|
@ -67,11 +67,12 @@ struct budget {
|
|||
/* treasury */
|
||||
int start_money; /* at beginning of update */
|
||||
double money; /* current */
|
||||
/* population before growth */
|
||||
int oldowned_civs;
|
||||
};
|
||||
|
||||
/* main.c */
|
||||
extern struct budget nat_budget[MAXNOC];
|
||||
extern int pops[MAXNOC];
|
||||
extern int tpops[MAXNOC];
|
||||
/* nat.c */
|
||||
extern float levels[MAXNOC][4];
|
||||
|
@ -127,7 +128,7 @@ extern void populace(struct sctstr *, int);
|
|||
extern int total_work(int, int, int, int, int, int);
|
||||
/* prepare.c */
|
||||
extern void prepare_sects(int);
|
||||
extern void tax(struct sctstr *, int, int *);
|
||||
extern void tax(struct sctstr *, int);
|
||||
extern void upd_slmilcosts(int, natid);
|
||||
extern void bank_income(struct sctstr *, int);
|
||||
extern void pay_reserve(struct natstr *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue