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:
Markus Armbruster 2006-12-31 16:56:34 +00:00
parent 2c0416135e
commit 6b70720318
8 changed files with 80 additions and 46 deletions

View file

@ -29,7 +29,7 @@
*
* Known contributors to this file:
* Steve McClure, 1998
* Markus Armbruster, 2005
* Markus Armbruster, 2005-2006
*/
#include <config.h>
@ -37,6 +37,7 @@
#include "optlist.h"
int opt_ALL_BLEED = 1;
int opt_AUTO_POWER = 0;
int opt_BLITZ = 1;
int opt_BRIDGETOWERS = 1;
int opt_DEMANDUPDATE = 1;