<?xml version="1.0"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by elovikov (EMBRACE) -->
<GUI>
	<include>gui.lua</include>
	<Layer name="MenuInGame">
		<Controls>
			<Panel name="MenuInGame" static="false">
				<texture name="#MENU_PANEL"/>
				<position x="400" y="540"/>
				<Controls>
					<Text name="Caption">
						<text>Menu</text>
						<position x="150" y="60"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Button name="Resume">
						<position x="44" y="172"/>
						<text>Resume</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#BUTTON2_NORMAL" active="#BUTTON2_ACTIVE" pressed="#BUTTON2_PRESS"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="Options">
						<position x="68" y="244"/>
						<text>Options</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#BUTTON1_NORMAL" active="#BUTTON1_ACTIVE" pressed="#BUTTON1_PRESS"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="Help">
						<position x="68" y="322"/>
						<text>Help</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#BUTTON1_NORMAL" active="#BUTTON1_ACTIVE" pressed="#BUTTON1_PRESS"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="MainMenu">
						<position x="68" y="400"/>
						<text>Exit</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#BUTTON1_NORMAL" active="#BUTTON1_ACTIVE" pressed="#BUTTON1_PRESS"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>MenuInGameFunc</Script>
	</Layer>
	<Layer name="ExitGame">
		<Controls>
			<Panel name="ExitGame">
				<texture name="#WINDOW_BIG"/>
				<position x="150" y="480"/>
				<Controls>
					<Text name="ConfirmText">
						<text>@EndGameAndLostLife</text>
						<position x="270" y="70"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Text name="Caption">
						<text>Exit to Menu?</text>
						<position x="270" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Button name="No">
						<position x="280" y="250"/>
						<text>No</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="Yes">
						<position x="90" y="250"/>
						<text>Yes</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>ExitGameFunc</Script>
	</Layer>
	<Layer name="ExitGameNoLostLife">
		<Controls>
			<Panel name="ExitGame">
				<texture name="#WINDOW_SMALL"/>
				<position x="150" y="480"/>
				<Controls>
					<Text name="ConfirmText">
						<text>@EndGame</text>
						<position x="200" y="70"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Text name="Caption">
						<text>Exit to Menu?</text>
						<position x="190" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Button name="No">
						<position x="190" y="250"/>
						<text>No</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="Yes">
						<position x="30" y="250"/>
						<text>Yes</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>ExitGameFunc</Script>
	</Layer>
	<Layer name="LoseLife">
		<Controls>
			<Panel name="LoseLife" freeze="true">
				<texture name="#SMALL_PANEL"/>
				<position x="350" y="540"/>
				<Controls>
					<Text name="LifeLostCaption">
						<text>Out of time!</text>
						<position x="210" y="90"/>
						<font name="Letter"/>
						<align>Center</align>
					</Text>
					<Text name="LivesLeft">
						<text>@LivesLeft</text>
						<position x="210" y="110"/>
						<font name="Title"/>
						<align>Center</align>
					</Text>
					<_Button name="Continue">
						<position x="120" y="360"/>
						<text>Continue</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</_Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>LoseLifeFunc</Script>
	</Layer>
	<Layer name="GameOver">
		<Controls>
			<Panel name="GameOver" freeze="true">
				<texture name="#SMALL_PANEL"/>
				<position x="350" y="540"/>
				<Controls>
					<Text name="GameOverCaption">
						<text>Game Over!</text>
						<position x="210" y="90"/>
						<font name="Letter"/>
						<align>Center</align>
					</Text>
					<Text name="GameOverText">
						<text>@GameOver</text>
						<position x="210" y="120"/>
						<font name="Letter"/>
						<align>Center</align>
					</Text>
					<_Button name="Continue">
						<position x="120" y="360"/>
						<text>Continue</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#sbutton" active="#sbutton_active" pressed="#sbutton_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</_Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>GameOverFunc</Script>
	</Layer>
</GUI>
