(hap_req): New.
(nati, populace): Use it. (populace, nati): Change hap, pct from float to double, because they are used as double. (nati): Print happiness needed with just two decimals, like the other levels.
This commit is contained in:
parent
222847bb75
commit
97be5018e2
4 changed files with 15 additions and 13 deletions
|
@ -290,6 +290,7 @@ extern int blksize(int);
|
|||
extern time_t fdate(int);
|
||||
/* hap_fact.c */
|
||||
extern double hap_fact(struct natstr *, struct natstr *);
|
||||
extern double hap_req(struct natstr *np);
|
||||
/* hours.c */
|
||||
extern int is_wday_allowed(int, char *);
|
||||
extern int is_daytime_allowed(int, char *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue