<screen>
<layer>1</layer>
	<!-- representation of screen -->
	<rootcomponent>
		<name>mainform</name>
		<effects>
			<effect>
				<name>create</name>
    	 <sound>
				<stream>/sound/window_moves_in.wav</stream>
			 </sound>
			</effect>
			<effect>
				<name>destroy</name>
    	 <sound>
				<stream>/sound/window_moves_out.wav</stream>
			 </sound>

				<lifetime>1000</lifetime>
			</effect>
		</effects>

		<!-- continue buttons -->
		<component>
			<name>closebutton1</name>
			<caption>$Language.Default.Screen.LevelComplete.continue</caption>
			<captioncolor>0xEE000000</captioncolor>
			<captionshadowcolor>0xFFF0B955</captionshadowcolor>
			<captionscale>0.90</captionscale>
			<hotkey>KEY_ESCAPE</hotkey>
			<width>256</width>
			<height>60</height>
			<effects>
				<effect>
					<name>create</name>
					<xposition>0</xposition>
					<yposition>250</yposition>
					<zposition>-1.0</zposition>
					<visual>
						<mesh>/mesh/centered-256x128.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/mmi.png</texstage>
					</visual>
					<movement>
						<timebegin>1500</timebegin>
						<timeend>2000</timeend>
						<ybegin>350.0</ybegin>
						<yend>240.0</yend>
					</movement>
				</effect>
				<effect>
					<name>destroy</name>
					<movement>
						<timebegin>100</timebegin>
						<timeend>400</timeend>
						<ybegin>240.0</ybegin>
						<yend>350.0</yend>
					</movement>
				</effect>
				<effect>
					<name>mousein</name>
					<sound>
     				<stream>/sound/mouseover.wav</stream>
		     	</sound>
					<visual>
						<mesh>/mesh/centered-256x128.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/mmi-highlight.png</texstage>
					</visual>
				</effect>
				<effect>
					<name>mouseout</name>
					<sound>
     				<stream>/sound/mouseout.wav</stream>
		     	</sound>
					<visual>
						<mesh>/mesh/centered-256x128.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/mmi.png</texstage>
					</visual>
				</effect>
			</effects>
		</component>
	
	<!-- hidden shortcut -->
		<component>
			<name>closebutton2</name>
			<hotkey>KEY_SPACE</hotkey>
			<effects>
				<effect>
					<name>create</name>
					<xposition>500</xposition>
				</effect>
			</effects>
		</component>

	<!-- hidden shortcut -->
		<component>
			<name>closebutton3</name>
			<hotkey>KEY_RETURN</hotkey>
			<effects>
				<effect>
					<name>create</name>
					<xposition>500</xposition>
				</effect>
			</effects>
		</component>

   <component>
		<name>gameresultfrm</name>
		<effects>
			<effect>
				<name>create</name>
				<movement>
					<timeend>500</timeend>
					<ybegin>-900</ybegin>
					<yend>0</yend>
				</movement>
			</effect>
			<effect>
				<name>destroy</name>
				<movement>
					<timebegin>700</timebegin>
					<timeend>1000</timeend>
					<ybegin>0</ybegin>
					<yend>-900</yend>
				</movement>
			</effect>
		</effects>

		<component>
			<name>bg-lines</name>
			<effects>
				<effect>
					<name>create</name>
					<visual>
						<mesh>/mesh/gui/frame/options-lines.xml</mesh>
						<texstage>/texture/playfield/bound-line.png</texstage>
						<material>/material/tex-ac.xml</material>
					</visual>
				</effect>
			</effects>
		</component>

		<component>
			<name>bg-corners</name>
			<effects>
				<effect>
					<name>create</name>
					<zposition>-0.1</zposition>
					<visual>
						<mesh>/mesh/gui/frame/options-corners.xml</mesh>
						<texstage>/texture/playfield/bound-corner.png</texstage>
						<material>/material/tex-ac.xml</material>
					</visual>
				</effect>
			</effects>
		</component>
		
		<component>
			<name>deco-top</name>
			<effects>
				<effect>
					<name>create</name>
					<yposition>-274</yposition>
					<zposition>-0.1</zposition>
					<visual>
	          <mesh>/mesh/gui/frame/deco-top.xml</mesh>
  					<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/frame/deco-top.png</texstage>
					</visual>
				</effect>
			</effects>
		</component>

   		<component>
			<name>deco-bottom</name>
			<effects>
				<effect>
					<name>create</name>
					<yposition>196</yposition>
					<zposition>-0.1</zposition>
					<visual>
						<mesh>/mesh/centered-256x32.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/frame/deco-horizontal.png</texstage>
					</visual>
				</effect>
			</effects>
		</component>

   		<component>
			<name>deco-left</name>
			<effects>
				<effect>
					<name>create</name>
					<xposition>-335</xposition>
					<yposition>-20</yposition>
					<zposition>-0.1</zposition>
					<visual>
						<mesh>/mesh/centered-16x128.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/frame/deco-vertical.png</texstage>
					</visual>
				</effect>
			</effects>
		</component>

 		<component>
			<name>deco-right</name>
			<effects>
				<effect>
					<name>create</name>
					<xposition>336</xposition>
					<yposition>-20</yposition>
					<zposition>-0.1</zposition>
					<visual>
						<mesh>/mesh/centered-16x128.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/frame/deco-vertical.png</texstage>
					</visual>
				</effect>
			</effects>
		</component>


		<component>
			<name>form</name>
      <width>800</width>
      <height>400</height>
      <cursor>0</cursor>
			<effects>
				<effect>
					<name>create</name>
					<zposition>0.1</zposition>
					<visual>
						<mesh>/mesh/gui/frame/options-bg.xml</mesh>
						<material>/material/diff-ac.xml</material>
					</visual>
				</effect>
			</effects>
		</component>
		
		<!-- Level complete text -->
		<component>
			<name>title</name>
			<caption>$Language.Default.Screen.LevelComplete.caption</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<captionscale>1.0</captionscale>
			<effects>
				<effect>
					<name>create</name>
					<yposition>-250</yposition>
					<zposition>-1</zposition>					
				</effect>
			</effects>
		</component>

<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 		<!-- Jewels destroyed text -->
		<component>
			<align>left</align>
			<name>jewelsbroken</name>
			<visible>0</visible>
			<caption>$Language.Default.Screen.LevelComplete.jewels</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-300</xposition>
          <yposition>-200</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
			
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		
		</component>

 		<!-- Cells destroyed text -->
		<component>
			<align>left</align>
			<name>cellsbroken</name>
			<visible>0</visible>
			<caption>$Language.Default.Screen.LevelComplete.cells</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-300</xposition>
          <yposition>-150</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
			
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
					
		</component>

 		<!-- Blocks destroyed text -->
		<component>
			<name>blocksbroken</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.blocks</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-300</xposition>
          <yposition>-100</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- cash found -->
		<component>
			<name>cashfound</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.cashFound</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-300</xposition>
          <yposition>-50</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- shapes used text -->
		<component>
			<name>shapeused</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.shapes</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>30</xposition>
          <yposition>-200</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- special shapes used text -->
		<component>
			<name>specialshapeused</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.glowing</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>30</xposition>
          <yposition>-150</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- items used text -->
		<component>
			<name>bonusshapeused</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.items</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>30</xposition>
          <yposition>-100</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- Time spent text -->
		<component>
			<name>timespent</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.timeSpent</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>30</xposition>
          <yposition>-50</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- Score text -->
		<component>
			<name>score</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.score</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-150</xposition>
          <yposition>0</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

 		<!-- Time bonus text -->
		<component>
			<name>timescore</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.timeBonus</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-150</xposition>
          <yposition>50</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>

   		<!-- Total score text -->
		<component>
			<name>totalscore</name>
			<visible>0</visible>
			<align>left</align>
			<caption>$Language.Default.Screen.LevelComplete.totalScore</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<effects>
				<effect>
					<name>create</name>
          <xposition>-150</xposition>
          <yposition>100</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timebegin>500</timebegin>
						<timeend>700</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>
			</effects>
					<component>
						<name>value</name>
						<align>right</align>
						<caption> </caption>
						<captioncolor>0xFFFFFFFF</captioncolor>
						<effects>
							<effect>
								<name>create</name>
								<xposition>270.0</xposition>
							</effect>
						</effects>
					</component>
		</component>
		
		<!-- final msg-->
		<component>
			<name>finalmsg</name>
			<caption> </caption>
			<captioncolor>0xFFFFFF00</captioncolor>
			<visible>0</visible>
			<effects>
				<effect>
					<name>create</name>
          <xposition>0</xposition>
          <yposition>150</yposition>
          <zposition>0</zposition>
				</effect>
				<effect>
					<name>show</name>
					<zoom>
						<timeend>500</timeend>
						<xbegin>0.0</xbegin>
						<ybegin>0.0</ybegin>
						<xend>1.0</xend>
						<yend>1.0</yend>
					</zoom>
				</effect>					
			</effects>
			
				<component>
					<name>rankicon</name>
					<width>40</width>
					<height>40</height>
					<visible>0</visible>
					<effects>
						<effect>
							<name>create</name>
							<xposition>-240.0</xposition>
							<yposition>-5.0</yposition>
							<zposition>-1.0</zposition>
							<visual>
								<mesh>/mesh/centered-64x64.xml</mesh>
								<material>/material/tex-ac_diff-a.xml</material>
								<texstage>/texture/black.png</texstage>
							</visual>
						</effect>
					</effects>
				</component>
			
		</component>
			

 </component> <!-- gameresultscreen -->
 
	</rootcomponent>
</screen>