<screen>
	<name>MapScreen</name>
	<layer>1</layer>
	<rootcomponent>
		<name>mapform</name>
		<event>
			<name>create</name>
			<node></node>
		</event>
		<event>
			<name>destroy</name>
			<node>
				<lifetime>500</lifetime>
			</node>
		</event>

		<component>
			<name>quitbutton</name>
			<hotkey>KEY_ESCAPE</hotkey>
			<caption>$hierarchy.Screen.Map.Exit</caption>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/button2.xml</replace>
					<position>
						<x>-328</x>
						<y>-270</y>
						<z>-100</z>
					</position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/button2hi.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/button2.xml</replace>
				</node>
			</event>
		</component>

		<component>
			<name>playbutton</name>
			<caption>$hierarchy.Screen.Map.Play</caption>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position>
						<x>-300</x>
						<y>270</y>
						<z>-100</z>
					</position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component>


		<component>
			<name>treasurebutton</name>
			<hint>$hierarchy.Screen.Map.treasuryHint</hint>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<width>80</width>
			<height>80</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/treasure-normal.xml</replace>
					<position>
						<x>-330</x>
						<y>-146</y>
						<z>-100</z>
					</position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/treasure-hilite.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/treasure-normal.xml</replace>
				</node>
			</event>
		</component>


		<component>
			<name>map</name>
			<event><name>create</name>
				<node/>
			</event>
		</component>

		<component><name>clouds</name>
			<event><name>create</name>
				<node>
					<position><x>-512</x><y>-384</y><z>-20</z></position>
				</node>
			</event>
		</component>


	</rootcomponent>
</screen>