<?xml version="1.0" ?>
<FinalTemplateCollection>
    <Template templateName="GameFieldMenuTemplate">
        <FixedChildrenListControl>
            <children>
                <InOutMovingControl time="0.4">
                    <position x="0" y="600" />
                    <sound soundId="window_moving" />
                    <namedPositions>
                        <position x="0" y="0" name="in" />
                        <position x="0" y="600" name="out" />
                    </namedPositions>
                    <path templateName="DialogPathTemplate" />
                    <messageReceiver name="Game field menu mover" />
                    <children>
                        <FixedChildrenListControl>
                            <position x="265" y="87" />
                            <children>
                                <StaticTextureControl>
                                    <position x="6" y="37" />
                                    <texture textureId="[game_field_menu_panel_background_theme]" />
                                </StaticTextureControl>
                                <RectangleFrameControl width="160" height="325">
                                    <position x="7" y="38" />
                                    <children>
                                        <ZoomControl zoom="0.7">
                                            <children>
                                                <BackgroundFishesControl>
                                                    <position x="0" y="0" />
                                                    <fog z="-100" color="#3C348F" />
                                                    <scale value="0.9" />
                                                    <FishParams>
                                                        <rect x="0" y="0" width="160" height="325" minDistX="20" maxAngleDegrees="20" />
                                                        <speed value="20" />
                                                    </FishParams>
                                                    <minFishes>
                                                        <Fish fishId="[Fish1]" />
                                                        <Fish fishId="[Fish2]" />
                                                    </minFishes>
                                                    <maxFishes value="3" />
                                                </BackgroundFishesControl>
                                            </children>
                                        </ZoomControl>
                                        <BubblesBackGround>
                                            <description textureId="bubble_blue" emitters="10" width="160" height="325" minPause="2.0" maxPause="4.0" minSpeed="20.0" maxSpeed="60.0" amplitude="5.0" period="10.0" blendMode="alpha" />
                                            <scale>
                                                <range min="0.0" max="0.0" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.1" max="0.25" />
                                                <range min="0.0" max="0.0" />
                                            </scale>
                                        </BubblesBackGround>
                                        <ExtendedWaterPlantControl fog="false">
                                            <position x="40" y="0" />
                                            <shopItem tankItemId="game_field_menu_plant" />
                                            <icon textureId="game_field_menu_plant" />
                                            <ground groundLine="5" />
                                            <layers>
                                                <mesh textureId="game_field_menu_plant" x="0" y="0" maxShift="4.0" bottomStaticLine="5" meshWidth="1" meshHeight="3" />
                                            </layers>
                                        </ExtendedWaterPlantControl>
                                    </children>
                                </RectangleFrameControl>
                                <StaticTextureControl>
                                    <texture textureId="game_field_menu_panel" />
                                    <children>
                                        <RectangleFrameControl width="130" height="28">
                                            <position x="72" y="392" />
                                            <children>
                                                <BubblesBackGround>
                                                    <description textureId="bubble_blue" emitters="10" width="130" height="40" minPause="3.0" maxPause="6.0" minSpeed="20.0" maxSpeed="60.0" amplitude="5.0" period="10.0" blendMode="alpha" />
                                                    <scale>
                                                        <range min="0.00" max="0.00" />
                                                        <range min="0.05" max="0.10" />
                                                        <range min="0.10" max="0.15" />
                                                        <range min="0.15" max="0.20" />
                                                        <range min="0.10" max="0.15" />
                                                        <range min="0.05" max="0.10" />
                                                        <range min="0.00" max="0.00" />
                                                    </scale>
                                                </BubblesBackGround>
                                            </children>
                                        </RectangleFrameControl>
                                        <StaticTextControl>
                                            <position x="117" y="412" />
                                            <div fontName="Orange_19">
                                                <line resourceName="Menu" />
                                            </div>
                                        </StaticTextControl>
                                    </children>
                                </StaticTextureControl>
                                <StaticTextureControl>
                                    <position x="6" y="35" />
                                    <texture textureId="game_field_menu_panel_glass" />
                                </StaticTextureControl>
                                <StaticTextureControl>
                                    <position x="[xTheme]" y="[yTheme]" />
                                    <texture textureId="[theme]" />
                                </StaticTextureControl>
                                <MessageButtonControl>
                                    <position x="84" y="270" />
                                    <textures normalId="game_field_resume_normal" activeId="game_field_resume_active" pressedId="game_field_resume_pressed" />
                                    <message value="Game field menu resume button pressed" receiver="lua:GameFieldFunc" />
                                </MessageButtonControl>
                                <MessageButtonControl>
                                    <position x="143" y="176" />
                                    <textures normalId="game_field_restart_normal" activeId="game_field_restart_active" pressedId="game_field_restart_pressed" />
                                    <message value="Game field menu restart button pressed" receiver="lua:GameFieldFunc" />
                                </MessageButtonControl>
                                <MessageButtonControl>
                                    <position x="121" y="80" />
                                    <textures normalId="game_field_options_normal" activeId="game_field_options_active" pressedId="game_field_options_pressed" />
                                    <message value="Game field menu options button pressed" receiver="lua:GameFieldFunc" />
                                </MessageButtonControl>
                                <MessageButtonControl>
                                    <position x="32" y="11" />
                                    <textures normalId="game_field_exit_normal" activeId="game_field_exit_active" pressedId="game_field_exit_pressed" />
                                    <message value="Game field menu exit button pressed" receiver="lua:GameFieldFunc" />
                                </MessageButtonControl>
                                <KeyListeningControl>
                                    <keys>
                                        <key value="VK_RETURN" receiver="lua:GameFieldFunc" message="Game field menu resume button pressed" />
                                        <key value="VK_ESCAPE" receiver="lua:GameFieldFunc" message="Game field menu exit button pressed" />
                                    </keys>
                                </KeyListeningControl>
                            </children>
                        </FixedChildrenListControl>
                    </children>
                </InOutMovingControl>
                <ModalDialogControl>
                    <messageReceiver name="Above game field menu" />
                    <times starting="0.3" hiding="0.3" />
                </ModalDialogControl>
            </children>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="ClickToContinueTemplate">
        <ClickToStartControl resourceName="ClickToContinue" fontName="White_14">
            <position x="400" y="20" />
        </ClickToStartControl>
    </Template>
    <Template templateName="RifFieldStatisticTemplate">
        <FixedChildrenListControl>
            <RifGameFieldStatistic>
                <messageReceiver name="RifFieldStatistic" />
                <main texture="level_complete" x="400" y="350" time="2.0" pause="1.0" break="1.0">
                    <alpha>
                        <key time="0.00" value="0.0" />
                        <key time="0.56" value="1.0" />
                        <key time="1.00" value="1.0" />
                    </alpha>
                    <yCoord>
                        <key time="0.00" value="-21.3" />
                        <key time="0.12" value="17.2" />
                        <key time="0.28" value="-8.0" />
                        <key time="0.64" value="0.0" />
                        <key time="0.84" value="125.0" />
                        <key time="1.00" value="130.0" />
                    </yCoord>
                    <size>
                        <key time="0.00" value="1.69" />
                        <key time="0.30" value="1.0" />
                        <key time="1.00" value="1.0" />
                    </size>
                </main>
                <params scoreSpeed="3500.0" timerSpeed="1.2" startTilesMoney="1.7" startScoreMoney="1.3" startScoreMoneyNoMove="0.5" continueScoreMoney="0.25" continueScoreMoneyNoMove="0.25" startTimerMoney="1.3" startTimerMoneyNoMove="0.3" continueTimerMoney="0.3" continueTimerMoneyNoMove="0.3" startLevelMoney="1.3" startLevelMoneyNoMove="0.3" startTotalEffect="0.7" startTotalEffectShowTime="0.4" firstClickTime="0.5" />
                <delayText startTime="1.0" x="400" y="367">
                    <line font="Yellow_32" text="res:StatisticsTitle" x="0" y="51" align="Center" startTime="0.0" time="0.75" />
                    <line font="White_25" text="%silverTiles%%goldenTiles% :" x="0" y="0" align="Right" startTime="0.7" time="0.1" />
                    <line font="Orange_48" text=" %TilesLevelMoney%" x="0" y="0" align="Left" startTime="0.0" time="0.75" />
                    <line font="White_25" text="res:StatisticsScoreBonus :" x="0" y="-52" align="Right" startTime="2.0" time="0.1" />
                    <line font="Orange_48" text=" %ScoreLevelMoney%" x="0" y="-52" align="Left" startTime="0.0" time="0.1" />
                    <line font="White_25" text="res:StatisticsTimeBonus :" x="0" y="-104" align="Right" startTime="4.0" time="0.1" />
                    <line font="Orange_48" text=" %TimeLevelMoney%" x="0" y="-104" align="Left" startTime="0.0" time="0.1" />
                    <line font="White_25" text="res:StatisticsCupBonus :" x="0" y="-156" align="Right" startTime="6.0" time="0.75" />
                    <line font="Orange_48" text=" %CupLevelMoney%" x="0" y="-156" align="Left" startTime="6.0" time="0.75" />
                    <line font="Yellow_32" text="res:StatisticsLevelMoney" x="0" y="-208" align="Center" startTime="7.4" time="0.2" />
                    <line font="Orange_65" text="%LevelMoney%" x="0" y="-260" align="Center" startTime="0.0" time="0.1" />
                </delayText>
            </RifGameFieldStatistic>
            <MutableChildrenListControl>
                <messageReceiver name="OverStatistic" />
            </MutableChildrenListControl>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="UpDownButtonsTemplate2">
        <FixedChildrenListControl>
            <position x="201" y="115" />
            <children>
                <MaxScrollButtonControl>
                    <position x="-20" y="190" />
                    <textures normalId="players_arrow_up_normal" activeId="players_arrow_up_active" pressedId="players_arrow_up_pressed" disabledId="players_arrow_up_disabled" />
                    <messageReceiver name="File listbox vScroll max button" />
                </MaxScrollButtonControl>
                <MinScrollButtonControl>
                    <position x="-20" y="153" />
                    <textures normalId="players_arrow_down_normal" activeId="players_arrow_down_active" pressedId="players_arrow_down_pressed" disabledId="players_arrow_down_disabled" />
                    <messageReceiver name="File listbox vScroll min button" />
                </MinScrollButtonControl>
                <KeyListeningControl>
                    <keys>
                        <key value="VK_ESCAPE" receiver="post:File listbox" message="clear" />
                    </keys>
                </KeyListeningControl>
            </children>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="ListboxActiveItemTemplate2">
        <FixedChildrenListControl>
            <position x="0" y="[y]" />
            <children>
                <StaticTextControl>
                    <position x="105" y="222" />
                    <div fontName="Yellow_17">
                        <line>[value]</line>
                    </div>
                </StaticTextControl>
                <MessageButtonControl>
                    <position x="5" y="191" />
                    <textures normalId="players_stripe" activeId="players_stripe" pressedId="players_stripe" />
                    <message value="click on [value]" receiver="[listboxId]" />
                </MessageButtonControl>
                <KeyListeningControl>
                    <keys>
                        <key value="VK_ESCAPE" receiver="post:File listbox" message="clear" />
                    </keys>
                </KeyListeningControl>
            </children>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="ChipsDialogSelectTemplate">
        <FixedChildrenListControl>
            <position x="245" y="106" />
            <children>
                <StaticTextureControl>
                    <texture textureId="editor_select_chips" />
                </StaticTextureControl>
                <StaticTextControl>
                    <position x="158" y="471" />
                    <div fontName="Orange_19">
                        <line>CHIPS</line>
                    </div>
                </StaticTextControl>
                <CheckBoxControl>
                    <position x="50" y="350" />
                    <textures uncheckedNormalId="editor_chip1_off" uncheckedActiveId="editor_chip1_off" checkedNormalId="editor_chip1_on" checkedActiveId="editor_chip1_on" />
                    <variable name="editor_chip0" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="140" y="350" />
                    <textures uncheckedNormalId="editor_chip2_off" uncheckedActiveId="editor_chip2_off" checkedNormalId="editor_chip2_on" checkedActiveId="editor_chip2_on" />
                    <variable name="editor_chip1" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="230" y="350" />
                    <textures uncheckedNormalId="editor_chip3_off" uncheckedActiveId="editor_chip3_off" checkedNormalId="editor_chip3_on" checkedActiveId="editor_chip3_on" />
                    <variable name="editor_chip2" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="50" y="260" />
                    <textures uncheckedNormalId="editor_chip4_off" uncheckedActiveId="editor_chip4_off" checkedNormalId="editor_chip4_on" checkedActiveId="editor_chip4_on" />
                    <variable name="editor_chip3" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="140" y="260" />
                    <textures uncheckedNormalId="editor_chip5_off" uncheckedActiveId="editor_chip5_off" checkedNormalId="editor_chip5_on" checkedActiveId="editor_chip5_on" />
                    <variable name="editor_chip4" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="230" y="260" />
                    <textures uncheckedNormalId="editor_chip6_off" uncheckedActiveId="editor_chip6_off" checkedNormalId="editor_chip6_on" checkedActiveId="editor_chip6_on" />
                    <variable name="editor_chip5" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="50" y="170" />
                    <textures uncheckedNormalId="editor_chip7_off" uncheckedActiveId="editor_chip7_off" checkedNormalId="editor_chip7_on" checkedActiveId="editor_chip7_on" />
                    <variable name="editor_chip6" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="140" y="170" />
                    <textures uncheckedNormalId="editor_chip8_off" uncheckedActiveId="editor_chip8_off" checkedNormalId="editor_chip8_on" checkedActiveId="editor_chip8_on" />
                    <variable name="editor_chip7" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <CheckBoxControl>
                    <position x="230" y="170" />
                    <textures uncheckedNormalId="editor_chip9_off" uncheckedActiveId="editor_chip9_off" checkedNormalId="editor_chip9_on" checkedActiveId="editor_chip9_on" />
                    <variable name="editor_chip8" mode="local" defaultValue="false" />
                </CheckBoxControl>
                <MessageButtonControl>
                    <position x="37" y="-22" />
                    <textures normalId="ok_normal" activeId="ok_active" pressedId="ok_pressed" />
                    <message value="Select level chips ok" receiver="GameField" />
                </MessageButtonControl>
                <MessageButtonControl>
                    <position x="182" y="-22" />
                    <textures normalId="cancel_normal" activeId="cancel_active" pressedId="cancel_pressed" />
                    <message value="hide" receiver="Game field modal dialog" />
                </MessageButtonControl>
                <KeyListeningControl>
                    <keys>
                        <key value="VK_RETURN" receiver="GameField" message="Select level chips ok" />
                        <key value="VK_ESCAPE" receiver="Game field modal dialog" message="hide" />
                    </keys>
                </KeyListeningControl>
            </children>
        </FixedChildrenListControl>
    </Template>
    <Template templateName="HurryUpTemplate">
        <DynamicTextControl time="4.0">
            <position x="400" y="550" />
            <showScaleSpline>
                <key value="0.5" />
                <key value="1.0" />
                <key value="1.0" />
                <key value="1.1" />
                <key value="1.0" />
                <key value="1.1" />
                <key value="0.5" />
            </showScaleSpline>
            <alphaSpline>
                <key value="0.0" />
                <key value="1.0" />
                <key value="1.0" />
                <key value="1.0" />
                <key value="0.06" />
                <key value="0.0" />
            </alphaSpline>
            <div fontName="Orange_17" resourceName="WatchTheTime" />
        </DynamicTextControl>
    </Template>
    <Template templateName="GameFieldTemplate">
        <FixedChildrenListControl>
            <children>
                <ContextHelpServerControl>
                    <children>
                        <TemplateInstanceControl>
                            <base templateName="GameBackgrounds" />
                        </TemplateInstanceControl>
                        <BackgroundFishesControl>
                            <position x="0" y="0" />
                            <scale value="0.9" />
                            <fog z="-100" color="#3C348F" />
                            <FishParams>
                                <rect x="-50" y="100" width="900" height="450" minDistX="100" maxAngleDegrees="20" />
                                <speed value="20" />
                            </FishParams>
                            <minFishes>
                                <Fish fishId="[Fish1]" />
                                <Fish fishId="[Fish2]" />
                            </minFishes>
                            <maxFishes value="6" />
                        </BackgroundFishesControl>
                        <ZGlassControl />
                        <AlphaChangeControl start="1.0">
                            <speed value="3.0" />
                            <messageReceiver name="Game field alpha changer" />
                            <children>
                                <RifGameFieldControl>
                                    <scopeParametr christmas_x="6" christmas_y="8" thanksgiving_x="6" thanksgiving_y="6" halloween_x="9" halloween_y="9" />
                                    <startTime fieldStart="0.7" readyGoEffectStart="0.1" />
                                    <position x="400" y="270" />
                                    <scorePosition x="0" y="260" />
                                    <levelPrefix resourceName="GameFieldLevel" />
                                    <receivers hidePanelId="Game panel" moneyId="TilesLevelMoney" scoreId="Level score" levelId="Level name" />
                                    <messageReceiver name="GameField" />
                                    <toExit receiver="lua:GameFieldFunc" message="Game field exit confirmation dialog yes button pressed" />
                                    <lockPieces>
                                        <point x="11" y="11" />
                                        <point x="-22" y="-21" />
                                        <point x="-18" y="-19" />
                                        <point x="-9" y="10" />
                                        <point x="2" y="1" />
                                        <point x="-2" y="-3" />
                                        <point x="5" y="5" />
                                        <point x="-2" y="-3" />
                                    </lockPieces>
                                    <GameTimeCounter hideProcess="0.025" minScale="0.7">
                                        <position x="752" y="63" />
                                        <layer textureId="shadow" x="-27" y="-20" />
                                        <layer textureId="stuff" x="-2" y="30" count="4" stepX="0" stepY="133" />
                                        <layer textureId="timer" x="4" y="0" progress="true" />
                                        <layer textureId="circle" canShine="true">
                                            <point x="3" y="448" color="#3DFED7FF" />
                                            <point x="3" y="225" color="#00FF1EFF" />
                                            <point x="3" y="2" color="#FF0600FF" />
                                        </layer>
                                        <layer textureId="circle_shadow">
                                            <point x="2" y="423" color="#FFFFFFFF" />
                                            <point x="2" y="200" color="#FFFFFFFF" />
                                            <point x="2" y="-23" color="#FFFFFF00" />
                                        </layer>
                                        <layer textureId="timer_glass" x="2" y="-1" />
                                        <layer textureId="stuff_up" x="-1" y="25" count="4" stepX="0" stepY="133" />
                                    </GameTimeCounter>
                                    <FieldEditor backgroundTextureId="editor_toolset" bornTextureId="editor_born">
                                        <group stepX="0" stepY="-45">
                                            <position x="5" y="550" />
                                            <button textureId="editor_delete" value="19" />
                                            <button textureId="editor_new" value="16" />
                                            <button textureId="editor_open" value="17" />
                                            <button textureId="editor_save" value="18" />
                                            <button textureId="editor_clock" value="20" />
                                            <button textureId="blue" value="0" />
                                            <button textureId="editor_born" value="1" />
                                            <button textureId="editor_auto_born" value="22" />
                                            <button textureId="silver" value="2" />
                                            <button textureId="golden" value="3" />
                                            <button textureId="editor_lock" value="4" />
                                            <button textureId="editor_2lock" value="5" />
                                            <button textureId="editor_chips" value="21" />
                                        </group>
                                    </FieldEditor>
                                </RifGameFieldControl>
                                <MutableChildrenListControl>
                                    <messageReceiver name="FieldHurryUpScreen" />
                                </MutableChildrenListControl>
                            </children>
                        </AlphaChangeControl>
                        <InOutMovingControl time="0.3">
                            <position x="0" y="80" />
                            <namedPositions>
                                <position x="0" y="0" name="in" />
                                <position x="0" y="80" name="out" />
                            </namedPositions>
                            <path templateName="QuadraticPathTemplate" />
                            <messageReceiver name="Game field panel mover" />
                            <children>
                                <StaticTextureControl>
                                    <position x="0" y="547" />
                                    <texture textureId="game_field_panel" />
                                    <children>
                                        <GamePanelControl>
                                            <messageReceiver name="Game panel" />
                                            <items>
                                                <item x="100" y="30" font="Brown_16" type="string" variable="Level name" />
                                                <item x="328" y="28" font="White_16" type="string" variable="Level score" />
                                                <item x="540" y="27" font="Orange_17" type="string" variable="TilesLevelMoney" />
                                            </items>
                                            <modes silverOnly="0,1,2" both="0,1,2" />
                                        </GamePanelControl>
                                        <StaticTextControl>
                                            <position x="266" y="39" />
                                            <div fontName="White_16" align="right">
                                                <line resourceName="GameFieldScore" />
                                            </div>
                                        </StaticTextControl>
                                        <StaticTextControl>
                                            <position x="477" y="39" />
                                            <div fontName="White_16" align="right">
                                                <line resourceName="GameFieldMoney" />
                                            </div>
                                        </StaticTextControl>
                                        <ContextHelpClientControl>
                                            <times initial="0.1" reshow="0.0" />
                                            <toolTipToShow name="GameFieldEyeButton" />
                                            <controlToMonitor>
                                                <MessageButtonControl>
                                                    <position x="9" y="14" />
                                                    <textures normalId="eye_normal" activeId="eye_active" pressedId="eye_pressed" />
                                                    <message value="Game field eye button pressed" receiver="lua:GameFieldFunc" />
                                                </MessageButtonControl>
                                            </controlToMonitor>
                                        </ContextHelpClientControl>
                                        <ContextHelpClientControl>
                                            <times initial="0.1" reshow="0.0" />
                                            <toolTipToShow name="HelpButton" />
                                            <controlToMonitor>
                                                <MessageButtonControl>
                                                    <position x="667" y="13" />
                                                    <textures normalId="help_normal" activeId="help_active" pressedId="help_pressed" />
                                                    <message value="show" receiver="post:lua:HelpFunc" />
                                                </MessageButtonControl>
                                            </controlToMonitor>
                                        </ContextHelpClientControl>
                                        <ContextHelpClientControl>
                                            <times initial="0.1" reshow="0.0" />
                                            <toolTipToShow name="GameFieldMenuButton" />
                                            <controlToMonitor>
                                                <MessageButtonControl>
                                                    <position x="714" y="14" />
                                                    <textures normalId="game_field_menu_normal" activeId="game_field_menu_active" pressedId="game_field_menu_pressed" />
                                                    <message value="Game field menu button pressed" receiver="lua:GameFieldFunc" />
                                                </MessageButtonControl>
                                            </controlToMonitor>
                                        </ContextHelpClientControl>
                                    </children>
                                </StaticTextureControl>
                                <ContextHelpClientControl>
                                    <times initial="0.1" reshow="0.0" />
                                    <toolTipToShow name="GameFieldScore" />
                                    <controlToMonitor>
                                        <InvisibleControl>
                                            <rect x="205" y="566" width="180" height="24" />
                                        </InvisibleControl>
                                    </controlToMonitor>
                                </ContextHelpClientControl>
                                <ContextHelpClientControl>
                                    <times initial="0.1" reshow="0.0" />
                                    <toolTipToShow name="GameFieldMoney" />
                                    <controlToMonitor>
                                        <InvisibleControl>
                                            <rect x="416" y="566" width="180" height="24" />
                                        </InvisibleControl>
                                    </controlToMonitor>
                                </ContextHelpClientControl>
                                <ContextHelpClientControl>
                                    <times initial="0.1" reshow="0.0" />
                                    <toolTipToShow name="GameFieldLevelName" />
                                    <controlToMonitor>
                                        <InvisibleControl>
                                            <rect x="60" y="566" width="90" height="24" />
                                        </InvisibleControl>
                                    </controlToMonitor>
                                </ContextHelpClientControl>
                                <IfControl variable="not local:Relaxed game mode">
                                    <children>
                                        <ContextHelpClientControl>
                                            <times initial="0.1" reshow="0.0" />
                                            <toolTipToShow name="GameFieldTimer" />
                                            <controlToMonitor>
                                                <InvisibleControl>
                                                    <rect x="752" y="62" width="36" height="462" />
                                                </InvisibleControl>
                                            </controlToMonitor>
                                        </ContextHelpClientControl>
                                    </children>
                                </IfControl>
                            </children>
                        </InOutMovingControl>
                        <MutableChildrenListControl>
                            <messageReceiver name="GameFieldScreen" />
                        </MutableChildrenListControl>
                        <ReminderControl>
                            <messageReceiver name="fieldReminder" />
                        </ReminderControl>
                        <KeyListeningControl>
                            <keys>
                                <key value="VK_ESCAPE" receiver="lua:GameFieldFunc" message="Game field menu button pressed" />
                            </keys>
                        </KeyListeningControl>
                        <IfControl variable="global:temp:dev">
                            <children>
                                <KeyListeningControl>
                                    <keys>
                                        <key value="VK_1" receiver="lua:GameFieldFunc" message="Track Game1" />
                                        <key value="VK_2" receiver="lua:GameFieldFunc" message="Track Game2" />
                                        <key value="VK_3" receiver="lua:GameFieldFunc" message="Track Game3" />
                                        <key value="VK_4" receiver="lua:GameFieldFunc" message="Track Game4" />
                                        <key value="VK_5" receiver="lua:GameFieldFunc" message="Track Game5" />
                                        <key value="VK_6" receiver="lua:GameFieldFunc" message="Track Game6" />
                                        <key value="VK_7" receiver="lua:GameFieldFunc" message="Track Game7" />
                                        <key value="VK_8" receiver="lua:GameFieldFunc" message="Track Game8" />
                                    </keys>
                                </KeyListeningControl>
                            </children>
                        </IfControl>
                        <ListboxControl>
                            <position x="50" y="370" />
                            <templates scrollTemplate="ListboxScrollTemplate" activeItemTemplate="ListboxActiveItemTemplate2" normalItemTemplate="ListboxNormalItemTemplate" />
                            <dimensions itemDistance="-37" minActiveIndex="0" maxActiveIndex="15" />
                            <messageReceiver name="File listbox" />
                            <doubleClickMessage value="File listbox double click" receiver="GameField" />
                        </ListboxControl>
                        <ScrollDispatcherControl>
                            <templates normal="UpDownButtonsTemplate2" hidden="EmptyTemplate" />
                            <messageReceiver name="File listbox vScroll button dispatcher" />
                        </ScrollDispatcherControl>
                    </children>
                </ContextHelpServerControl>
                <AlphaChangeControl start="1.0">
                    <speed value="2.0" />
                    <messageReceiver name="Game field modal dialog alpha changer" />
                    <children>
                        <ModalDialogControl maxBlackAlpha="150">
                            <messageReceiver name="Game field modal dialog" />
                            <times starting="0.3" hiding="0.3" />
                        </ModalDialogControl>
                    </children>
                </AlphaChangeControl>
                <ModalDialogControl>
                    <messageReceiver name="Overwrite confirmation modal dialog" />
                    <times starting="0.3" hiding="0.3" />
                </ModalDialogControl>
                <ModalDialogControl>
                    <messageReceiver name="Exit and restart modal dialog" />
                    <times starting="0.3" hiding="0.3" />
                </ModalDialogControl>
                <ModalDialogControl maxBlackAlpha="0">
                    <messageReceiver name="Statistics modal dialog" />
                    <times starting="0.5" hiding="0.5" />
                </ModalDialogControl>
                <BorderControl width="800" height="600">
                    <texture textureId="border" />
                </BorderControl>
                <MutableChildrenListControl>
                    <messageReceiver name="Mutable Help Control" />
                </MutableChildrenListControl>
                <ModalDialogControl maxBlackAlpha="0">
                    <messageReceiver name="Above game field modal dialog" />
                    <times starting="0.3" hiding="0.3" />
                </ModalDialogControl>
                <ModalDialogControl maxBlackAlpha="30">
                    <messageReceiver name="RestartContinueScreen" />
                    <times starting="0.3" hiding="0.3" />
                </ModalDialogControl>
            </children>
        </FixedChildrenListControl>
    </Template>
</FinalTemplateCollection>
