uiDialogGame Game
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm
   CursorOnly = true

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

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

   objEffectMap ShowMap
   {
      Effect = ~data/scripts/effects/ui/showmap.ofx
   }

   objEffectMap HideMap
   {
      Effect = ~data/scripts/effects/ui/hidemap.ofx
   }

   objEffectMap ShowMap_Bonus
   {
      Effect = ~data/scripts/effects/ui/showmap_bonus.ofx
   }

   objEffectMap HideMap_Bonus
   {
      Effect = ~data/scripts/effects/ui/hidemap_bonus.ofx
   }

   objEffectMap ContinueIn
   {
      Effect = ~data/scripts/effects/ui/continue_in.ofx
   }

   uiGameFrame GameFrame
   {
      Width = 800.000000
      Height = 600.000000

      geGameLevel GameLevel

      # data/scripts/interface/game_components.uis
   }

   uiSprite FadeMask
   {
      Position = [ 0.000000, 0.000000, 0.000000 ]
      Width = 800.000000
      Height = 600.000000
      Color = [ 0.000000, 0.000000, 0.000000, 1.000000 ]
      Sprite = ~data/textures/transition/fade_mask.tga
   }

   uiFrame HudBottom
   {
      Position = [ 0.000000, 564.000000, 0.000000 ]

      uiSprite Background
      {
         Position = [ 0.000000, -4.000000, 0.000000 ]
         Sprite = ~data/textures/game/xbox_360/hud.jpg*data/textures/game/xbox_360/hud_alpha.tga
         BlendMode = MUL
      }

      uiFrame Stage
      {
         Position = [ 90.000000, 1.000000, 0.000000 ]

         uiTextWidget Text_Stage
         {
            Height = 32.000000
            AnchorHorz = CENTER
            Anim = "Outline"
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "14-5" )
         }
      }

      uiFrame Lives_Coins
      {
         uiSprite Ankh
         {
            Position = [ 3.000000, 0.000000, 0.000000 ]
            Sprite = ~data/textures/game/xbox_360/ankh.jpg*data/textures/game/xbox_360/ankh_alpha.tga
         }

         uiTextWidget Text_Lives
         {
            Position = [ 25.000000, 0.000000, 0.000000 ]
            Height = 32.000000
            AnchorHorz = LEFT
            Anim = "Outline"
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "999" )
         }

         uiSprite Coin
         {
            Position = [ 93.000000, 0.000000, 0.000000 ]
            Sprite = ~data/textures/game/xbox_360/coin.jpg*data/textures/game/xbox_360/coin_alpha.tga
         }

         uiTextWidget Text_Coins
         {
            Position = [ 145.999084, 0.000000, 0.000000 ]
            Height = 32.000000
            AnchorHorz = CENTER
            Anim = "Outline"
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "30" )
         }
      }

      uiSprite Progress_Base
      {
         Position = [ 176.736145, 5.136780, 0.000000 ]
         Sprite = ~data/textures/game/xbox_360/progress.jpg*data/textures/game/xbox_360/progress_alpha.tga
      }

      uiProgressBar Progress_Level
      {
         Position = [ 196.000000, 8.000000, 0.000000 ]
         Width = 151.000000
         Height = 19.000000
         Range = 1.000000
         Value = 1.000000
         LerpControls = [ 0.666600, 0.888800 ]

         objEffectMap Finished
         {
            Effect = ~data/scripts/effects/ui/xbox_360/progress_finished.ofx
         }

         objEffectMap ContinueFinished
         {
            Effect = ~data/scripts/effects/ui/xbox_360/progress_complete.ofx
         }

         uiClipFrame Progress
         {
            Width = 151.000000

            uiSprite Progress
            {
               Position = [ 0.000000, 0.000000, 0.000000 ]
               Sprite = ~data/textures/game/xbox_360/progress_full.jpg
            }
         }

         uiSprite Complete
         {
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            Sprite = ~data/textures/game/xbox_360/progress_complete.jpg
         }
      }

      uiTextWidget Text_Score
      {
         Position = [ 511.000000, 1.000000, 0.000000 ]
         Height = 30.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Justify = CENTER
         Text = T( "999,999,999,999" )
      }

      uiButton Button_Pause
      {
         Style = "BogusArsStyle"
         Position = [ -150.000000, -30.000000, 0.000000 ]
         Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
         Command = "GamePause"

         uiInputItem Pause
         {
            uiInputBinding
            {
               Binding = "Keyboard.Pause"
            }

            uiInputBinding
            {
               Binding = "Keyboard.Space"
            }

            uiInputBinding
            {
               Binding = "Controller.Back"
            }
         }
      }

      uiButton Button_Menu
      {
         Position = [ 727.999084, 0.000000, 0.000000 ]
         AnchorHorz = CENTER
         Padding = 5.000000
         Command = "GameMenu"

         uiTextWidget Text
         {
            Position = [ 0.000000, 14.000001, 0.000000 ]
            Height = 28.000000
            Text = T( "Menu" )
         }

         uiInputItem Menu
         {
            uiInputBinding
            {
               Binding = "Keyboard.Escape"
            }

            uiInputBinding Binding
            {
               Binding = "Controller.Start"
            }
         }

         objEffectMap Hover
         {
            Effect = ~data/scripts/effects/ui/button_menu_hover.ofx
         }
      }
   }

   objEffectMap NewLife
   {
      Effect = ~data/scripts/effects/ui/extra_life.ofx
   }
}
