-- This file automatically output by psd2window.exe. It is not meant to be hand edited.
-- To use the results of this file, you can call Group(psd2window_buildhazard()); inside of a MakeDialog command.
buildhazard_sprites = {};

	buildhazard_win_buildhazard_params =
	{
		image='hud/win_buildhazard';
		name='win_buildhazard';
		x=606;
		y=7;
		w=186;
		h=246;
	};


	buildhazard_btn_menu_hazcancel_params =
	{
		graphics =
		{
			'hud/btn_menu_01',
			'hud/btn_menu_02',
			'hud/btn_menu_03',
			'hud/btn_menu_04'
		};
		name='btn_menu_hazcancel';
		x=643;
		y=206;
		w=118;
		h=26;
	};


	buildhazard_txt_hazcancel_params =
	{
		image='hud/txt_hazcancel';
		name='txt_hazcancel';
		x=680;
		y=214;
		w=42;
		h=10;
	};


	buildhazard_btn_menu_hazaccept_params =
	{
		graphics =
		{
			'hud/btn_menu_01',
			'hud/btn_menu_02',
			'hud/btn_menu_03',
			'hud/btn_menu_04'
		};
		name='btn_menu_hazaccept';
		x=643;
		y=185;
		w=118;
		h=26;
	};


	buildhazard_txt_hazaccept_params =
	{
		image='hud/txt_hazaccept';
		name='txt_hazaccept';
		x=680;
		y=193;
		w=42;
		h=10;
	};


	buildhazard_btn_sewage_params =
	{
		graphics =
		{
			'hud/btn_sewage_01',
			'hud/btn_sewage_02',
			'hud/btn_sewage_03',
			'hud/btn_sewage_04'
		};
		name='btn_sewage';
		x=622;
		y=118;
		w=30;
		h=28;
	};

	buildhazard_txt_sewage_params =
	{
		image='hud/txt_prison';
		name='txt_sewage';
		x=622+36;
		y=118+10;
		w=30+12;
		h=28-18;
	};

	buildhazard_btn_rubbish_params =
	{
		graphics =
		{
			'hud/btn_waste_01',
			'hud/btn_waste_02',
			'hud/btn_waste_03',
			'hud/btn_waste_04'
		};
		name='btn_waste';
		x=622;
		y=145;
		w=30;
		h=28;
	};

	buildhazard_txt_rubbish_params =
	{
		name='txt_rubbish';
		x=622+36;
		y=145+10;
		w=30+12;
		h=28-18;
	};

	buildhazard_btn_pwrplant_params =
	{
		graphics =
		{
			'hud/btn_pwrplant_01',
			'hud/btn_pwrplant_02',
			'hud/btn_pwrplant_03',
			'hud/btn_pwrplant_04'
		};
		name='btn_pwrplant';
		x=622;
		y=90;
		w=30;
		h=28;
	};

	buildhazard_txt_pwrplant_params =
	{
		name='txt_pwrplant';
		x=622+36;
		y=90+10;
		w=30+12;
		h=28-18;
	};
	
	buildhazard_btn_prison_params =
	{
		graphics =
		{
			'hud/btn_prison_01',
			'hud/btn_prison_02',
			'hud/btn_prison_03',
			'hud/btn_prison_04'
		};
		name='btn_prison';
		x=622;
		y=64;
		w=30;
		h=28;
	};


	buildhazard_txt_prison_params =
	{
		name='txt_prison';
		x=622+36;
		y=64+10;
		w=30+12;
		h=28-18;
	};


	buildhazard_txt_buildhazard_params =
	{
		image='hud/txt_buildhazard';
		name='txt_buildhazard';
		x=633;
		y=28;
		w=136;
		h=16;
	};

function psd2window_buildhazard()
	local sprites = {};
	for i=1,table.getn(buildhazard_sprites) do
		table.insert(sprites,
			{
				image=buildhazard_sprites[i].image;
				name=buildhazard_sprites[i].name;
				x=buildhazard_sprites[i].x;
				y=buildhazard_sprites[i].y;
			}
		);
	end
	return sprites;
end
