<?xml version="1.0"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by elovikov (EMBRACE) -->
<GUI>
	<include>gui.lua</include>
	<Layer name="Cross">
		<Controls>
			<SolidRect name="BlackScreen">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="255"/>
			</SolidRect>
		</Controls>
	</Layer>
	<Layer name="Fade">
		<Controls>
			<SolidRect name="Fade">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="255"/>
			</SolidRect>
		</Controls>
	</Layer>
	<Layer name="Fade2">
		<Controls>
			<SolidRect name="Fade">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="255"/>
			</SolidRect>
		</Controls>
	</Layer>
	<Layer name="PubSplash">
		<Controls>
			<Panel name="Panel" static="true">
				<texture name="splash2.jpg"/>
				<position x="0" y="600"/>
			</Panel>
			<SplashWait name="Splash"/>
		</Controls>
		<Script>SplashFunc</Script>
	</Layer>
	<Layer name="PubSplash2">
		<Controls>
			<Panel name="Panel" static="true">
				<texture name="splash3.jpg"/>
				<position x="0" y="600"/>
			</Panel>
			<SplashWait name="Splash"/>
		</Controls>
		<Script>SplashFunc2</Script>
	</Layer>
	<Layer name="Menu">
		<Controls>
			<Panel name="0_Back" freeze="true" static="true">
				<texture name="#MENU_BACK"/>
				<position x="0" y="600"/>
			</Panel>
			<Panel name="2_Border" freeze="true" static="true">
				<texture name="#MENU_BORDER"/>
				<position x="0" y="600"/>
			</Panel>
			<MenuEffect name="1_MenuEffect"/>
			<SaverTooltip name="Z_SSTooltip"/>
			<ProfileButton name="ProfileButton" profileOffsetX="4" profileOffsetY="2" changeUserOffset="-23">
				<position x="300" y="565"/>
			</ProfileButton>
			<Button name="Start">
				<position x="546" y="232"/>
				<text>Start</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="570" y="306"/>
				<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="Scores">
				<position x="570" y="384"/>
				<text>Travels</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="Exit">
				<position x="570" y="540"/>
				<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>
			<Button name="Help">
				<position x="570" y="462"/>
				<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="GetSaver">
				<position x="570" y="594"/>
				<state normal="#GETS_NORMAL" active="#GETS_ACTIVE" pressed="#GETS_PRESSED"/>
			</Button>
			<_Panel name="Menu" static="true">
				<texture name="#MAINMENU"/>
				<position x="540" y="600"/>
			</_Panel>
		</Controls>
		<Script>MainMenuFunc</Script>
	</Layer>
	<Layer name="Credits">
		<Controls>
			<Panel name="Z_Border" freeze="true" static="true">
				<texture name="#CreditsBorder"/>
				<position x="0" y="600"/>
			</Panel>
			<Credits name="Credits" width="400" height="589" from="-150" to="2600" time="60">
				<Logo x="100" y="0" tex="textures\ts4.png"/>
				<position x="210" y="590"/>
				<textPosition x="200" y="0"/>
			</Credits>
			<_Button name="Ok">
				<position x="350" y="570"/>
				<text>Ok</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#mbutton2" active="#mbutton2_active" pressed="#mbutton2_press"/>
				<font normal="Title" active="Title" pressed="Title"/>
			</_Button>
		</Controls>
		<Script>CreditsFunc</Script>
		<Background>
			<texture name="#HISTORY_BACK"/>
		</Background>
	</Layer>
	<Layer name="Profiles">
		<Controls>
			<Panel name="Panel" static="true">
				<texture name="#WINDOW0"/>
				<position x="100" y="540"/>
				<Controls>
					<Text name="Caption">
						<text>Players</text>
						<position x="205" y="67"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Button name="New">
						<position x="39" y="326"/>
						<text>New</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="Delete">
						<position x="210" y="326"/>
						<text>Delete</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="Ok">
						<position x="39" y="400"/>
						<text>Select</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="Cancel">
						<position x="210" y="400"/>
						<text>Cancel</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="0_Down">
						<position x="350" y="160"/>
						<state normal="#STR_UP" active="#STR_UP" pressed="#STR_UP"/>
					</Button>
					<Button name="0_Up">
						<position x="350" y="200"/>
						<state normal="#STR_DOWN" active="#STR_DOWN" pressed="#STR_DOWN"/>
					</Button>
					<Panel name="0_PanelInner" freeze="true" static="true">
						<texture name="#WINDOW_INNER"/>
						<position x="60" y="245"/>
					</Panel>
					<ListBox name="Names" numOfItems="4" step="30" width="150">
						<position x="200" y="135"/>
						<buttonScrollUp>0_Up</buttonScrollUp>
						<buttonScrollDown>0_Down</buttonScrollDown>
						<font active="Title" normal="TitleLight"/>
					</ListBox>
				</Controls>
			</Panel>
		</Controls>
		<Script>ProfileFunc</Script>
	</Layer>
	<Layer name="NewProfile">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="250" y="500"/>
				<Controls>
					<Text name="Caption">
						<text>Player Name</text>
						<position x="190" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Text name="InfoText">
						<text>(maximum 12 characters)</text>
						<position x="190" y="160"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Ok">
						<position x="20" y="250"/>
						<text>Ok</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="Cancel">
						<position x="190" y="250"/>
						<text>Cancel</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>
					<EditBox name="Name" limit="12">
						<position x="80" y="110"/>
						<font scale="1.0" name="Title"/>
					</EditBox>
					<Panel name="0_PanelInner" freeze="true" static="true">
						<texture name="#WINDOW_INNER_SMALL"/>
						<position x="60" y="125"/>
					</Panel>
				</Controls>
			</Panel>
		</Controls>
		<Script>NewProfileFunc</Script>
	</Layer>
	<Layer name="FirstProfile">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="220" y="490"/>
				<Controls>
					<Text name="Caption">
						<text>Enter your name</text>
						<position x="190" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Text name="InfoText">
						<text>(maximum 12 characters)</text>
						<position x="190" y="160"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Ok">
						<position x="105" y="250"/>
						<text>Ok</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>
					<EditBox name="Name" limit="12">
						<position x="80" y="110"/>
						<font scale="1.0" name="Title"/>
					</EditBox>
					<Panel name="0_PanelInner" freeze="true" static="true">
						<texture name="#WINDOW_INNER_SMALL"/>
						<position x="60" y="125"/>
					</Panel>
				</Controls>
			</Panel>
		</Controls>
		<Script>FirstProfileFunc</Script>
	</Layer>
	<Layer name="ActiveNoDelete">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="220" y="490"/>
				<Controls>
					<Text name="Caption">
						<text>Delete player</text>
						<position x="190" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Text name="InfoText">
						<text>@ActiveNoDelete</text>
						<position x="200" y="100"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Ok">
						<position x="105" y="250"/>
						<text>Ok</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>ActiveDeleteMessageFunc</Script>
	</Layer>
	<Layer name="LastNoDelete">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="220" y="490"/>
				<Controls>
					<Text name="Caption">
						<text>Delete player</text>
						<position x="190" y="55"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Text name="InfoText">
						<text>@LastNoDelete</text>
						<position x="200" y="100"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Ok">
						<position x="105" y="250"/>
						<text>Ok</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>LastDeleteMessageFunc</Script>
	</Layer>
	<Layer name="Options">
		<Controls>
			<Panel name="Options">
				<texture name="#WINDOW0"/>
				<position x="200" y="540"/>
				<Controls>
					<Text name="Caption">
						<text>Options</text>
						<position x="205" y="66"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Text name="Text0">
						<text>Music</text>
						<position x="50" y="162"/>
						<font name="Interface"/>
					</Text>
					<Text name="Text1">
						<text>Sound</text>
						<position x="50" y="114"/>
						<font name="Interface"/>
					</Text>
					<Slider name="Music">
						<position x="139" y="160"/>
						<state inactive="#SLIDER" active="#SLIDER_GRADIENT" manipulator="#SLIDER_MANIPULATOR"/>
						<manipulatorOffset>
							<position x="-10" y="-2"/>
						</manipulatorOffset>
					</Slider>
					<Slider name="Sound">
						<position x="139" y="112"/>
						<state inactive="#SLIDER" active="#SLIDER_GRADIENT" manipulator="#SLIDER_MANIPULATOR"/>
						<manipulatorOffset>
							<position x="-10" y="-2"/>
						</manipulatorOffset>
					</Slider>
					<CheckBox name="Fullscreen" startupState="false">
						<position x="40" y="210"/>
						<text>Fullscreen</text>
						<font name="Interface"/>
						<textPosition>
							<position x="40" y="0"/>
						</textPosition>
						<state on="#CHECK_BUTTON_ON" off="#CHECK_BUTTON"/>
					</CheckBox>
					<CheckBox name="Tips" startupState="false">
						<position x="210" y="210"/>
						<text>Show tips</text>
						<font name="Interface"/>
						<textPosition>
							<position x="40" y="0"/>
						</textPosition>
						<state on="#CHECK_BUTTON_ON" off="#CHECK_BUTTON"/>
					</CheckBox>
					<CheckBox name="CustomCursor" startupState="false">
						<position x="40" y="260"/>
						<text>Custom cursor</text>
						<font name="Interface"/>
						<textPosition>
							<position x="40" y="0"/>
						</textPosition>
						<state on="#CHECK_BUTTON_ON" off="#CHECK_BUTTON"/>
					</CheckBox>
					<Button name="Ok">
						<position x="39" y="400"/>
						<text>Ok</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="Cancel">
						<position x="210" y="400"/>
						<text>Cancel</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="Credits">
						<position x="130" y="330"/>
						<text>Credits</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>OptionsFunc</Script>
	</Layer>
	<Layer name="DeletePlayerConfirm">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="220" y="490"/>
				<Controls>
					<Text name="ConfirmText">
						<text>Do you really want to delete?</text>
						<position x="190" y="130"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Text name="PlayerName">
						<text>PlayerName</text>
						<position x="190" y="160"/>
						<font name="Title"/>
						<align>Center</align>
					</Text>
					<Text name="Caption">
						<text>Delete Player</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>DeletePlayerFunc</Script>
	</Layer>
	<Layer name="ScreensaverReady">
		<Controls>
			<Panel name="Panel" static="false">
				<texture name="#SCREENSAVER_PANEL"/>
				<position x="80" y="550"/>
				<Controls>
					<Panel name="SSReady" static="true">
						<texture name="#SS_READY"/>
						<position x="50" y="100"/>
					</Panel>
					<SSView name="SaverView">
						<position x="80" y="270"/>
					</SSView>
					<Text name="SaverReady2">
						<text>@ScreensaverReady2</text>
						<position x="220" y="370"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Download">
						<position x="190" y="360"/>
						<rectangle x="0" y="0" width="50" height="25"/>
						<text>Download</text>
						<textPosition>
							<position x="25" y="13"/>
						</textPosition>
						<font normal="TitleLight" active="Title" pressed="Title"/>
					</Button>
					<Button name="Ok">
						<position x="150" y="480"/>
						<text>Ok</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#mbutton2" active="#mbutton2_active" pressed="#mbutton2_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>ScreensaverReadyFunc</Script>
	</Layer>
	<Layer name="ScreensaverNotReady">
		<Controls>
			<Panel name="Panel" static="false">
				<texture name="#SCREENSAVER_PANEL"/>
				<position x="80" y="550"/>
				<Controls>
					<Panel name="SSReady" static="true" freeze="true">
						<texture name="#SS_NOTREADY"/>
						<position x="50" y="100"/>
					</Panel>
					<SSView name="SaverView">
						<position x="80" y="270"/>
					</SSView>
					<Text name="SaverInfo">
						<text>@ScreensaverInfo</text>
						<position x="220" y="350"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Button name="Ok">
						<position x="150" y="480"/>
						<text>Ok</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#mbutton2" active="#mbutton2_active" pressed="#mbutton2_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>ScreensaverNotReadyFunc</Script>
	</Layer>
	<Layer name="GetScreensaver">
		<Controls>
			<Panel name="Panel" static="false">
				<texture name="#SMALL_SVITOK"/>
				<position x="200" y="450"/>
				<Controls>
					<Text name="SaverInfo">
						<text>@ScreensaverConfirm</text>
						<position x="210" y="120"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Text name="Caption">
						<text>Download screenaver?</text>
						<position x="210" y="75"/>
						<font name="Caption"/>
						<align>Center</align>
					</Text>
					<Button name="No">
						<position x="230" y="250"/>
						<text>No</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#mbutton2" active="#mbutton2_active" pressed="#mbutton2_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
					<Button name="Yes">
						<position x="70" y="250"/>
						<text>Yes</text>
						<textPosition>
							<position x="12" y="10"/>
						</textPosition>
						<state normal="#mbutton2" active="#mbutton2_active" pressed="#mbutton2_press"/>
						<font normal="Interface" active="Interface" pressed="Interface"/>
					</Button>
				</Controls>
			</Panel>
		</Controls>
		<Script>GetScreensaverFunc</Script>
	</Layer>
	<Layer name="EndGame">
		<Controls>
			<Panel name="Panel">
				<texture name="#WINDOW_SMALL"/>
				<position x="220" y="470"/>
				<Controls>
					<Text name="ConfirmText">
						<text>Do you really want to exit?</text>
						<position x="200" y="140"/>
						<font name="TitleLight"/>
						<align>Center</align>
					</Text>
					<Text name="Caption">
						<text>Exit Game?</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>CloseGameFunc</Script>
	</Layer>
</GUI>
