//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiChunkedBitmapCtrl(BattleConfig) {
   canSaveDynamicFields = "0";
   isContainer = "1";
   Profile = "GuiDefaultProfile";
   HorizSizing = "right";
   VertSizing = "bottom";
   Position = "0 0";
   Extent = "1024 768";
   MinExtent = "8 2";
   canSave = "1";
   Visible = "1";
   hovertime = "1000";
   bitmap = "~/data/images/gui/black.jpg";
   useVariable = "0";
   tile = "0";

   new GuiChunkedBitmapCtrl() {
      canSaveDynamicFields = "0";
      isContainer = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "center";
      VertSizing = "center";
      Position = "294 114";
      Extent = "435 540";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      hovertime = "1000";
      bitmap = "~/data/images/gui/background1.png";
      useVariable = "0";
      tile = "0";

      new GuiChunkedBitmapCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "1";
         Profile = "GuiDefaultProfile";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "11 41";
         Extent = "171 400";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         tooltipprofile = "GuiDefaultProfile";
         hovertime = "1000";
         bitmap = "~/data/images/gui/rectangle_brdr1.png";
         useVariable = "0";
         tile = "0";

         new GuiChunkedBitmapCtrl() {
            canSaveDynamicFields = "0";
            isContainer = "1";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "15 19";
            Extent = "140 362";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/panel_bg2.jpg";
            useVariable = "0";
            tile = "0";

            new GuiTextCtrl() {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "Gui24Yellow";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "28 4";
               Extent = "83 27";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               hovertime = "1000";
               text = "Your Gang";
               maxLength = "1024";
            };
            new GuiBitmapCtrl(bc_player1) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "5 31";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player2) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "70 31";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player3) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "5 95";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player4) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "70 95";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player5) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "5 159";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player6) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "70 159";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player7) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "5 223";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player8) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "70 223";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player9) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "5 287";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
            new GuiBitmapCtrl(bc_player10) {
               canSaveDynamicFields = "0";
               isContainer = "0";
               Profile = "GuiDefaultProfile";
               HorizSizing = "right";
               VertSizing = "bottom";
               Position = "70 287";
               Extent = "64 64";
               MinExtent = "8 2";
               canSave = "1";
               Visible = "1";
               tooltipprofile = "GuiDefaultProfile";
               hovertime = "1000";
               bitmap = "~/data/images/gui/square_btn.png";
               wrap = "0";
            };
         };
      };
      new GuiChunkedBitmapCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "1";
         Profile = "GuiDefaultProfile";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "252 41";
         Extent = "171 400";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         hovertime = "1000";
         bitmap = "~/data/images/gui/rectangle_brdr1.png";
         useVariable = "0";
         tile = "0";

         new GuiChunkedBitmapCtrl() {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "16 19";
            Extent = "140 362";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            hovertime = "1000";
            bitmap = "~/data/images/gui/panel_bg2.jpg";
            useVariable = "0";
            tile = "0";
         };
         new GuiTextCtrl() {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "Gui24Yellow";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "35 24";
            Extent = "100 27";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            hovertime = "1000";
            text = "Enemy Gang";
            maxLength = "1024";
         };
         new GuiBitmapCtrl(bc_enemy1) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "21 50";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy2) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "86 50";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy3) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "21 114";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy4) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "86 114";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy5) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "21 178";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy6) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "86 178";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy7) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "21 242";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy8) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "86 242";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy9) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "21 306";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
         new GuiBitmapCtrl(bc_enemy10) {
            canSaveDynamicFields = "0";
            isContainer = "0";
            Profile = "GuiDefaultProfile";
            HorizSizing = "right";
            VertSizing = "bottom";
            Position = "86 306";
            Extent = "64 64";
            MinExtent = "8 2";
            canSave = "1";
            Visible = "1";
            tooltipprofile = "GuiDefaultProfile";
            hovertime = "1000";
            bitmap = "~/data/images/gui/square_btn.png";
            wrap = "0";
         };
      };
      new GuiTextCtrl(vehicleretreattext) {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "Gui28Yellow";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "153 445";
         Extent = "127 23";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         hovertime = "1000";
         text = "Retreat Failed!";
         maxLength = "1024";
      };
      new GuiBitmapButtonTextCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "17 479";
         Extent = "100 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "Retreat();";
         hovertime = "1000";
         text = "Retreat";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
      new GuiBitmapButtonTextCtrl(bc_formation) {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "119 478";
         Extent = "171 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "canvas.pushdialog(formation);";
         hovertime = "1000";
         text = "Battle Formation";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
      new GuiBitmapButtonTextCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "293 478";
         Extent = "121 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "PrepBattle1();";
         Accelerator = "enter";
         hovertime = "1000";
         text = "Start Battle";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
   };
};
//--- OBJECT WRITE END ---
