<?xml version="1.0" standalone="no" ?>
<Main>
    <Common 
    	
    	NeedInventory="0"
    	
    	startMessageNum = "-1"
	ShowFinalMessageBox__="0"
	ShowInfosAsFinalMessageBox="MG10_finmsg"

    	mainCursor = "cursor/cursor"
     	secondCursor="cursor/cursor"
	
	music = "audio/music/storm.ogg"
	ambient = "audio/ambient/title_ambient_seagull.ogg"

    	win_counter = "0.2"

	strPanelText="MG10_textPanel"
	sPanelTextAfterAllDone="MG10_textPanelAfterAllDone"
	StartPictIndToHideAfterAllDone = "3"
	CheckTestPresenceToolsWithAutoSetButtonInDisableState="1"
    />


<Pict  pos = "0,0"  scale = "1" useMask="1" >
	<Item name="mg10/sky" x="133" y="0" />
	<Item name="mg10/back" x="0" y="0" />
	<Item name="mg10/big1" x="573" y="251" />
	<Item name="mg10/big2" x="434" y="331" />
	<Item name="mg10/big3" x="573" y="398" />
	<Item name="mg10/big4" x="430" y="469" />
	<Item name="mg10/small1" x="529" y="250" />
	<Item name="mg10/small2" x="391" y="459" />
	<Item name="mg10/small3" x="529" y="459" />
	<Item name="mg10/ball" x="408" y="320" />
	<Item name="mg10/exit" x="698" y="449" />
	<Item name="mg10/obstacle" points="380,274;392,274;392,304;380,304" />
	<Item1 name="path"  points="624,223;636,223;636,448;710,448;710,460;380,460; 380,223; 624,223; 624,235; 392,235; 392,448; 624,448; 624,390; 398,390; 398,320; 443,320;443,244;531,244;531,332;410,332;410,378;624,378;624,237"/>	
	<Item1 name="path2" points="455,250;455,320;519,320;519,250" desc="inner part of small square"/>
</Pict>

	<MG10Game id = "MG10ClockMechanism" strPanelText = "MG10_textPanel1" finPosX = "704" finPosY = "452" pictForFinishedEffect = "mg10/ball">
		<Items>
			<GameSpace x = "380" y = "220" w = "330" h = "240"/>
			<FreeRectDesc name="path convert to Rectangles Blocks. Then test what block(s) Rect full contain  Ball rectDraw" />

			<FreeRect  leftX="380" topY="220" rightX="636" bottomY="232" name = "1_hor"/>
			<FreeRect  leftX="624" topY="220" rightX="636" bottomY="460" name = "2_ver"/>
			<FreeRect  leftX="380" topY="448" rightX="636" bottomY="460" name = "3a_hor">
				<RotationMG10ItemInfo MG10Item="mg10/small2" testDirection="hor" partOfMG10ItemSize="3" desc="top x418 y456" />
				<RotationMG10ItemInfo MG10Item="mg10/small3" testDirection="hor" partOfMG10ItemSize="3" desc="top x556 y456" />
			</FreeRect>
			<FreeRect  leftX="624" topY="448" rightX="710" bottomY="460" name = "3b_hor"/>
			<FreeRect  leftX="380" topY="220" rightX="392" bottomY="460" name = "4_ver"/>
			<FreeRect  leftX="398" topY="378" rightX="636" bottomY="390" name = "5_hor"/>
			<FreeRect  leftX="398" topY="320" rightX="410" bottomY="390" name = "6_ver"/>
			<FreeRect  leftX="398" topY="320" rightX="531" bottomY="332" name = "7_hor">
				<RotationMG10ItemInfo MG10Item="mg10/big2" testDirection="hor" partOfMG10ItemSize="4" desc=" top  x487 y331"/>
			</FreeRect>
			<FreeRect  leftX="443" topY="238" rightX="455" bottomY="332" name = "8_ver"/>
			<FreeRect  leftX="443" topY="238" rightX="531" bottomY="250" name = "9_hor"/>
			<FreeRect  leftX="519" topY="238" rightX="531" bottomY="332" name = "10_ver">
				<RotationMG10ItemInfo MG10Item="mg10/small1" testDirection="ver" partOfMG10ItemSize="3" desc=" left x525 y278" inverseRotation = "1"/>
			</FreeRect>

			<ItemMove name="mg10/ball" moveItemSpeed="400"/>

		        <ItemPartOfPath name="mg10/big1" >
				<ItemInfo angle= "45;225" freeRectName1 = "2_ver" />
			</ItemPartOfPath>
		        <ItemPartOfPath name="mg10/big2">
				<ItemInfo angle= "90;270" freeRectName1 = "5_hor" />
       			</ItemPartOfPath>
			<ItemPartOfPath name="mg10/big3" testOneDirection="hor">
				<ItemInfo angle= "0;270" freeRectName1 = "3a_hor" freeRectName2 = "2_ver" forbidMoveVerForAngle="270"/>
				<ItemInfo angle= "90"  freeRectName1 = "3b_hor" freeRectName2 = "2_ver"/>
       			</ItemPartOfPath>
		        <ItemPartOfPath name="mg10/big4">
				<neighboringItem  name = "mg10/small2" coefRotation="2"/>
				<neighboringItem  name = "mg10/small3" coefRotation="2"/>
        		</ItemPartOfPath>
		        <ItemPartOfPath name="mg10/small1">
				<neighboringItem  name = "mg10/big1" coefRotation="0.5"/>
        		</ItemPartOfPath>
		        <ItemPartOfPath name="mg10/small2" connectWithItemMove="hor" desc="top x418 y456">
				<neighboringItem  name = "mg10/big4" coefRotation="0.5"/>
        		</ItemPartOfPath>
		        <ItemPartOfPath name="mg10/small3" connectWithItemMove="hor" desc="top x556 y456">
				<neighboringItem  name = "mg10/big3" coefRotation="0.5"/>
				<neighboringItem  name = "mg10/big4" coefRotation="0.5"/>
        		</ItemPartOfPath>
                        <ItemPartOfPath1 name="mg10/obstacle">
				<ItemInfo angle= "0" freeRectName1 = "4_ver" passDir="MAX_TO_MIN_DIR"/>
       			</ItemPartOfPath1>
		</Items>
	</MG10Game>

	<PanelBG name="backgrounds/pane_mg_bg.png" x="131" y="672" />
	<butContinue   descript="butContinue;440,695,141,60;fonts/arial.mvec;128,128,128,255;255,255,255,255;0;buttons/b_continue;buttons/b_continue_pressed;buttons/b_continue_mouseover"/>

<GameTutor>
</GameTutor>

<MemoryTools AppearanceEffect="EffToolAppearance" TextAboutTools="fonts/Kozuka_Mincho_Pro_B.mvec; 23; 740, 240, 201, 70; 20,19,16,255" TextureAboutTools="backgrounds/secrettoolhintbg.png">
	<Tool id = "KeyMedallion" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "img_07/07_heart" imgCursComposite = "buttons/tools/14_heart_half_small" cursDx = "0" cursDy = "0" useForScreen="-1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/14_heart_half;buttons/tools/14_heart_half;buttons/tools/14_heart_half;buttons/tools/07_heart_sunduk_silhouette"
		IgnoreSetVisibleForToolsCommand ="true"
		placeRect="-100,-100,64,55"
		CursorPointMiddleImage = "true"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
		TestPresence="true"
	/>                        	
	<Tool id = "PlaceMap" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "" imgCursComposite = "buttons/tools/19_map_50" cursDx = "0" cursDy = "0" useForScreen="-1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/19_map_sunduk;buttons/tools/19_map_sunduk;buttons/tools/19_map_sunduk;buttons/tools/mg04_map_sunduk_sihouette"
		CursorPointMiddleImage = "true"
		IgnoreSetVisibleForToolsCommand="true"
		placeRect="-100,-100,64,55"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
		TestPresence="true"
	/>

	<Tool id = "PlaceShip" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "buttons/tools/ship_big_cursor" imgCursComposite = "buttons/tools/ship_small_cursor" cursDx = "0" cursDy = "0" useForScreen="1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/ship_small;buttons/tools/ship_small;buttons/tools/ship_small;buttons/tools/ship_small_silhouette"
		CursorPointMiddleImage = "true"
		IgnoreSetVisibleForToolsCommand="true"
		placeRect="-100,-100,64,55"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
		TestPresence="true"
	/>                        	

	<Tool id = "KeyTelescope" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "buttons/tools/23_telescope" imgCursComposite = "buttons/tools/23_telescope_50" cursDx = "0" cursDy = "0" useForScreen="1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/23_telescope_sunduk;buttons/tools/23_telescope_sunduk;buttons/tools/23_telescope_sunduk;buttons/tools/23_telescope_sunduk_silhouette"
		CursorPointMiddleImage = "true"
		IgnoreSetVisibleForToolsCommand="true"
		placeRect="-100,-100,64,55"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
	/>                        	
</MemoryTools>
</Main>
