update: Track levels in nat_budget[]
Replace levels[][] by nat_budget[].level[]. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
35d6779e55
commit
d861902783
4 changed files with 18 additions and 18 deletions
|
@ -60,6 +60,8 @@ struct budg_item {
|
|||
struct budget {
|
||||
/* production by sector type */
|
||||
struct budg_item prod[SCT_TYPE_MAX + 1];
|
||||
/* level production output */
|
||||
float level[4];
|
||||
/* building and maintenance */
|
||||
struct budg_item bm[BUDG_BLD_MAX + 1];
|
||||
/* population, taxes, military payroll, bank interest */
|
||||
|
@ -73,8 +75,6 @@ struct budget {
|
|||
|
||||
/* main.c */
|
||||
extern struct budget nat_budget[MAXNOC];
|
||||
/* nat.c */
|
||||
extern float levels[MAXNOC][4];
|
||||
|
||||
/* age.c */
|
||||
extern int age_people(int, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue