uiDialog TopLevel
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/menu.osm

   objEffectMap TransOut
   {
      Effect = ~data/scripts/effects/ui/transition_dialog.ofx
   }

   objEffectMap TransQuit
   {
      Effect = ~data/scripts/effects/ui/mainmenu_quit.ofx
   }

   objEffectMap TransIn
   {
      Effect = ~data/scripts/effects/ui/main/trans_in.ofx
   }

   objEffectMap Idle
   {
      Effect = ~data/scripts/effects/ui/main/logo.ofx
   }

   uiFrame
   {
      uiSprite Background
      {
         Position = [ 0.000000, 0.000000, 0.000000 ]
         Sprite = ~data/textures/main/background.jpg*data/textures/main/background_alpha.tga
         BlendMode = NONE
      }

      objEffectMap Idle
      {
         Effect = ~data/maps/star/idle.ofx
      }
   }
/*
   uiFrame Menu
   {
      Position = [ 400.000000, -10.000000, 0.000000 ]
      AnchorHorz = CENTER
      AnchorVert = TOP

      uiSprite menu_frame
      {
         Sprite = ~data/textures/main/frame.jpg*data/textures/main/frame_alpha.tga
         AlphaHitTest = false
      }

      uiFrame Logo
      {
         Position = [ 222.000000, 79.000000, 0.000000 ]
         Scale = [ 0.700000, 0.700000, 1.000000 ]
         AnchorHorz = CENTER

         uiFrame Luxor
         {
            Position = [ 0.000000, 1.000000, 0.000000 ]
            AnchorHorz = CENTER

            uiSprite Luxor_L
            {
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_L.jpg*data/textures/main/logo_L_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_U
            {
               Position = [ 49.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_U.jpg*data/textures/main/logo_U_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_X
            {
               Position = [ 102.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_X.jpg*data/textures/main/logo_X_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_O
            {
               Position = [ 152.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_O.jpg*data/textures/main/logo_O_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_R
            {
               Position = [ 205.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_R.jpg*data/textures/main/logo_R_alpha.tga
               AlphaHitTest = false
            }
         }

         uiFrame Luxor_Highlights
         {
            Position = [ 0.000000, 1.000000, 0.000000 ]
            AnchorHorz = CENTER

            uiSprite Luxor_L
            {
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_L_hl.jpg*data/textures/main/logo_L_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_U
            {
               Position = [ 49.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_U_hl.jpg*data/textures/main/logo_U_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_X
            {
               Position = [ 102.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_X_hl.jpg*data/textures/main/logo_X_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_O
            {
               Position = [ 152.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_O_hl.jpg*data/textures/main/logo_O_alpha.tga
               AlphaHitTest = false
            }

            uiSprite Luxor_R
            {
               Position = [ 205.000000, 0.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo_R_hl.jpg*data/textures/main/logo_R_alpha.tga
               AlphaHitTest = false
            }
         }

         uiSprite Two
         {
            Position = [ 0.000000, 67.000000, 0.000000 ]
            Scale = [ 0.900000, 0.900000, 1.000000 ]
            AnchorHorz = CENTER
            Sprite = ~data/textures/main/logo2.jpg*data/textures/main/logo2_alpha.tga
            AlphaHitTest = false
         }

         uiSprite Two_Highlight
         {
            Position = [ 0.000000, 67.000000, 0.000000 ]
            Scale = [ 0.900000, 0.900000, 1.000000 ]
            AnchorHorz = CENTER
            Sprite = ~data/textures/main/logo2_hl.jpg*data/textures/main/logo2_alpha.tga
            AlphaHitTest = false
         }
      }



      uiFrame
      {
         Position = [ 220.000000, 161.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = TOP

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = -2.000000
         }

         uiFrame
         {
            Position = [ 145.000000, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP

            uiFlowLayout flow
            {
               Type = VERT
               Spacing = 3.000000
            }

            uiTextWidget Text_Player_Name_E
            {
               Position = [ 145.000000, 0.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 26.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "<Player Name>" )
            }

            uiButton Button_Profile
            {
               Style = "Main_Button"
               Position = [ 145.000000, 23.800001, 0.000000 ]
               AnchorHorz = CENTER
               Padding = 8.000000
               Command = "Profiles"

               uiTextWidget Text
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Width = 240.000000
                  Height = 14.000000
                  WordWrap = true
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Click Here If This Is Not You" )
               }
            }

            uiTextWidget Text_Rank_Label
            {
               Position = [ 145.000000, 56.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 24.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "My Rank:" )
            }

            uiSprite Icon_Rank
            {
               AnchorHorz = CENTER
               AnchorVert = TOP
               Sprite = ~data/sprites/main/ranks.spr
               Anim = "rank1"
            }

            uiTextWidget Text_Rank
            {
               Position = [ 145.000000, 146.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 24.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "Sheep Herder" )
            }
         }

         uiButton Button_Start
         {
            Style = "Main_Button"
            Position = [ 145.000000, 163.199997, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP
            Padding = 12.000000
            Command = "Play"

            uiTextWidget Text
            {
               Position = [ 0.000000, -3.000000, 0.000000 ]
               Height = 34.000000
               Color = [ 1.000000, 1.000000, 1.000000, 1.000000 ]
               Kerning = 2.000000
               Layered = true
               LayerOffset = [ 2.000000, 2.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               LayerScale = 1.000000
               Justify = CENTER
               Text = T( "Start" )
            }

            objEffectMap Idle
            {
               Effect = ~data/scripts/effects/ui/button_idle_pulse2.ofx
            }
         }

         uiButton Button_Achievements
         {
            Style = "Main_Button"
            Position = [ 145.000000, 219.199997, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "Achievements"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "My Badges" )
            }
         }

         uiButton Button_High_Scores
         {
            Style = "Main_Button"
            Position = [ 145.000000, 257.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "HighScores"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "High Scores" )
            }
         }

         uiButton Button_Instructions
         {
            Style = "Main_Button"
            Position = [ 145.000000, 295.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "Instructions"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "How To Play" )
            }
         }

         uiButton Button_More_Games
         {
            Style = "Main_Button"
            Position = [ 145.000000, 333.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "MoreGames"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "More Games" )
            }
         }

         uiFrame
         {
            AnchorHorz = CENTER

            uiFlowLayout flow
            {
               Spacing = 3.000000
            }

            uiButton Button_Options
            {
               Style = "Main_Button"
               Position = [ 0.000000, 0.000000, 0.000000 ]
               AnchorHorz = LEFT
               Padding = 8.000000
               Command = "Options"

               uiTextWidget Text
               {
                  Position = [ 0.000000, -2.000000, 0.000000 ]
                  Height = 24.000000
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Options" )
               }
            }

            uiButton Button_Quit
            {
               Style = "Main_Button"
               Position = [ 134.091599, 0.000000, 0.000000 ]
               AnchorHorz = LEFT
               Padding = 8.000000
               Command = "QuitMenu"

               uiTextWidget Text
               {
                  Position = [ 0.000000, -2.000000, 0.000000 ]
                  Height = 24.000000
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Quit" )
               }
            }
         }
      }

      uiTextWidget Text_Player_Name_H
      {
         Position = [ 62.000366, 15.800000, 0.000000 ]
         Scale = [ 0.800000, 0.800000, 1.000000 ]
         Height = 16.000000
         Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
         AnchorHorz = CENTER
         Font = ~data/fonts/white.font
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 3.000000, 3.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "WWWWWWWWWW" )
      }
   }
*/

   uiFrame Mbn
   {
      Position = [ 400.000000, 300.000000, 0.000000 ]
      AnchorHorz = CENTER
      AnchorVert = CENTER

      uiFrame Logo
      {
         Position = [ 220.000000, 25.000000, 0.000000 ]
         Scale = [ 0.700000, 0.700000, 1.000000 ]
         AnchorHorz = CENTER

         uiFrame Luxor
         {
            Position = [ 0.000000, 1.000000, 0.000000 ]
            AnchorHorz = CENTER

            uiSprite Luxor_L
            {
               AnchorHorz = CENTER
               Sprite = ~data/textures/main/logo1.jpg*data/textures/main/logo1.tga
               AlphaHitTest = false
            }
         }
      }

      uiFrame
      {
         Position = [ 220.000000, 161.000000, 0.000000 ]
         AnchorHorz = CENTER
         AnchorVert = TOP

         uiFlowLayout flow
         {
            Type = VERT
            Spacing = -2.000000
         }

         uiFrame
         {
            Position = [ 145.000000, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP

            uiFlowLayout flow
            {
               Type = VERT
               Spacing = 3.000000
            }

            uiTextWidget Text_Welcome
            {
               Position = [ 115, 0.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 26.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "Welcome!" )
            }

            uiTextWidget Text_Player_Name_E
            {
               Position = [ 145.000000, 0.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 26.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "<Player Name>" )
            }

            uiButton Button_Profile
            {
               Style = "Main_Button"
               Position = [ 145.000000, 23.000000, 0.000000 ]
               AnchorHorz = CENTER
               Padding = 8.000000
               Command = "Profiles"

               uiTextWidget Text
               {
                  Position = [ 0.000000, 0.000000, 0.000000 ]
                  Width = 110.000000
                  Height = 20.000000
                  WordWrap = true
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Player Profires" )
               }
            }

            uiTextWidget Text_Rank_Label
            {
               Position = [ 145.000000, 56.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 24.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "My Rank:" )
            }

            uiSprite Icon_Rank
            {
               AnchorHorz = CENTER
               AnchorVert = TOP
               Sprite = ~data/sprites/main/ranks.spr
               Anim = "rank1"
            }

            uiTextWidget Text_Rank
            {
               Position = [ 145.000000, 146.000000, 0.000000 ]
               Scale = [ 0.800000, 0.800000, 1.000000 ]
               Height = 24.000000
               AnchorHorz = CENTER
               Font = ~data/fonts/white.font
               Anim = "Outline"
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "Sheep Herder" )
            }
         }

         uiButton Button_Start
         {
            Style = "Main_Button"
            Position = [ 145.000000, 163.199997, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = TOP
            Padding = 12.000000
            Command = "Play"

            uiTextWidget Text
            {
               Position = [ 0.000000, -3.000000, 0.000000 ]
               Height = 34.000000
               Color = [ 1.000000, 1.000000, 1.000000, 1.000000 ]
               Kerning = 2.000000
               Layered = true
               LayerOffset = [ 2.000000, 2.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               LayerScale = 1.000000
               Justify = CENTER
               Text = T( "Start" )
            }

            objEffectMap Idle
            {
               Effect = ~data/scripts/effects/ui/button_idle_pulse2.ofx
            }
         }

         uiButton Button_Achievements
         {
            Style = "Main_Button"
            Position = [ 145.000000, 219.199997, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "Achievements"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "My Badges" )
            }
         }

         uiButton Button_High_Scores
         {
            Style = "Main_Button"
            Position = [ 145.000000, 257.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "HighScores"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "High Scores" )
            }
         }

         uiButton Button_Instructions
         {
            Style = "Main_Button"
            Position = [ 145.000000, 295.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "Instructions"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "How To Play" )
            }
         }

         uiButton Button_More_Games
         {
            Style = "Main_Button"
            Position = [ 145.000000, 333.200012, 0.000000 ]
            AnchorHorz = CENTER
            Padding = 8.000000
            Command = "MoreGames"

            uiTextWidget Text
            {
               Position = [ 0.000000, -2.000000, 0.000000 ]
               Height = 24.000000
               Layered = true
               LayerOffset = [ 3.000000, 3.000000 ]
               LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
               Justify = CENTER
               Text = T( "More Games" )
            }
         }

         uiFrame
         {
            AnchorHorz = CENTER

            uiFlowLayout flow
            {
               Spacing = 3.000000
            }

            uiButton Button_Options
            {
               Style = "Main_Button"
               Position = [ 0.000000, 0.000000, 0.000000 ]
               AnchorHorz = LEFT
               Padding = 8.000000
               Command = "Options"

               uiTextWidget Text
               {
                  Position = [ 0.000000, -2.000000, 0.000000 ]
                  Height = 24.000000
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Options" )
               }
            }

            uiButton Button_Quit
            {
               Style = "Main_Button"
               Position = [ 134.091599, 0.000000, 0.000000 ]
               AnchorHorz = LEFT
               Padding = 8.000000
               Command = "QuitMenu"

               uiTextWidget Text
               {
                  Position = [ 0.000000, -2.000000, 0.000000 ]
                  Height = 24.000000
                  Layered = true
                  LayerOffset = [ 3.000000, 3.000000 ]
                  LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
                  Justify = CENTER
                  Text = T( "Quit" )
               }
            }
         }
      }

      uiTextWidget Text_Player_Name_H
      {
         Position = [ 62.000366, 15.800000, 0.000000 ]
         Scale = [ 0.800000, 0.800000, 1.000000 ]
         Height = 16.000000
         Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
         AnchorHorz = CENTER
         Font = ~data/fonts/white.font
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 3.000000, 3.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "WWWWWWWWWW" )
      }
   }

   uiTextWidget Text_Version
   {
      Position = [ 7.000381, 590.000000, 0.000000 ]
      Width = 225.000000
      Height = 18.000000
      Color = [ 1.000000, 1.000000, 1.000000, 0.500000 ]
      AnchorHorz = LEFT
      AnchorVert = BOTTOM
      Font = ~data/fonts/white.font
      Anim = "Outline"
      WordWrap = true
      LayerColor = [ 0.000000, 1.000000, 1.000000, 1.000000 ]
      Text = T( "Version 123" )
   }

   uiTextWidget Text_MumboJumbo
   {
      Position = [ 789.000000, 575.000000, 0.000000 ]
      Height = 15.000000
      Color = [ 1.000000, 1.000000, 1.000000, 0.500000 ]
      AnchorHorz = RIGHT
      AnchorVert = BOTTOM
      Font = ~data/fonts/white.font
      Anim = "Outline"
      LayerColor = [ 0.000000, 1.000000, 1.000000, 1.000000 ]
      Justify = RIGHT
      Text = T( "©2006 MumboJumbo" )
   }
   uiTextWidget Text_MumboJumbo2
   {
      Position = [ 789.000000, 592.000000, 0.000000 ]
      Height = 15.000000
      Color = [ 1.000000, 1.000000, 1.000000, 0.500000 ]
      AnchorHorz = RIGHT
      AnchorVert = BOTTOM
      Font = ~data/fonts/white.font
      Anim = "Outline"
      LayerColor = [ 0.000000, 1.000000, 1.000000, 1.000000 ]
      Justify = RIGHT
      Text = T( "©2024 Ahri" )
   }
}
