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
|
@ -188,7 +188,7 @@ struct cmndstr player_coms[] = {
|
|||
{"plane <SECTS>", 0, plan, 0, NORM},
|
||||
{"players", 0, play, 0, VIS},
|
||||
{"pmap <SECTS|PLANE> [s|l|n|p|*|h]", 0, map, C_MOD, NORM},
|
||||
{"power [\"new\"] [<NUMBER OF COUNTRIES>] | \"country\" <NATS>",
|
||||
{"power [\"new\"|\"update\"] [<NUMBER OF COUNTRIES> | \"country\" <NATS>]",
|
||||
0, powe, C_MOD, VIS},
|
||||
{"pray", 0, tele, C_MOD, NORM},
|
||||
{"production <SECTS>", 0, prod, 0, NORM},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue