/*
 * power.h
 *
 * things having to do with the power report.
 *
 * from PSL Empire, 1985
 * $Revision: 1.1 $ $Date: 93/06/29 08:58:20 $
 */

struct powstr {
	natid	p_nation;
	float	p_sects;
	float	p_effic;
	float	p_civil;
	float	p_milit;
	float	p_shell;
	float	p_guns;
	float	p_petrol;
	float	p_iron;
	float	p_dust;
	float	p_food;
	float	p_oil;
	float	p_planes;
	float	p_ships;
	float	p_money;
	float	p_power;
};

#define getpower(n, p) \
	ef_nbread(EF_POWER, n, (caddr_t)p)
#define putpower(n, p) \
	ef_nbwrite(EF_POWER, n, (caddr_t)p)
#define getpowerp(n) \
	(struct powstr *) ef_ptr(EF_POWER, n)
