(new_work, do_feed, prod, newe): Factor out calculation of work into
new_work(). (ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, rollover_avail_max, configkeys, vers, new_work): Replace option ROLLOVER_AVAIL by configuration parameter rollover_avail_max.
This commit is contained in:
parent
b665d57de1
commit
7f4e59fb8d
9 changed files with 19 additions and 28 deletions
|
@ -297,12 +297,6 @@ int opt_TECH_POP = 1;
|
|||
int opt_TECH_POP = 0;
|
||||
#endif
|
||||
|
||||
#ifdef ROLLOVER_AVAIL
|
||||
int opt_ROLLOVER_AVAIL = 1;
|
||||
#else
|
||||
int opt_ROLLOVER_AVAIL = 0;
|
||||
#endif
|
||||
|
||||
struct option_list Options[] = {
|
||||
{"ALL_BLEED", &opt_ALL_BLEED},
|
||||
{"BIG_CITY", &opt_BIG_CITY},
|
||||
|
@ -337,7 +331,6 @@ struct option_list Options[] = {
|
|||
{"PINPOINTMISSILE", &opt_PINPOINTMISSILE},
|
||||
{"PLANENAMES", &opt_PLANENAMES},
|
||||
{"RES_POP", &opt_RES_POP},
|
||||
{"ROLLOVER_AVAIL", &opt_ROLLOVER_AVAIL},
|
||||
{"SAIL", &opt_SAIL},
|
||||
{"SHIPNAMES", &opt_SHIPNAMES},
|
||||
{"SHOWPLANE", &opt_SHOWPLANE},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue