New option AUTO_POWER; closes #1009993:
(opt_AUTO_POWER, update_power): New. (update_main): Implement AUTO_POWER. (powe): Disable power new when AUTO_POWER is on. (powe): New power update. (gen_power): Compute power into buffer passed by caller, make write to power file optional.
This commit is contained in:
parent
2c0416135e
commit
6b70720318
8 changed files with 80 additions and 46 deletions
|
@ -155,6 +155,8 @@ EMPCF_COMMENT("# Give range HOUR:MINUTE-HOUR:MINUTE, e.g. 20:00-24:00\n"
|
|||
EMPCF_COMMENT("\n\n### Options")
|
||||
EMPCF_OPT("ALL_BLEED", opt_ALL_BLEED,
|
||||
"Let tech bleed to everyone, not just allies")
|
||||
EMPCF_OPT("AUTO_POWER", opt_AUTO_POWER,
|
||||
"Power report is updated only automatically, at the update")
|
||||
EMPCF_OPT("BLITZ", opt_BLITZ,
|
||||
"Enable blitz mode")
|
||||
EMPCF_OPT("BRIDGETOWERS", opt_BRIDGETOWERS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue