Example #1
0
        public frmWarp(Program.GameTypes g, GBHL.GBFile gbf, byte f)
        {
            InitializeComponent();
            game = g;
            if (g == Program.GameTypes.Ages)
            {
                foreach (string s in agesGroupNames)
                {
                    cboArea.Items.Add(s);
                }
            }
            else
            {
                foreach (string s in seasonsGroupNames)
                {
                    cboArea.Items.Add(s);
                }
            }

            cboArea.SelectedIndex = 0;
            flag2      = f;
            gb         = gbf;
            warpLoader = new WarpLoader(gb);
            mapLoader  = new MapLoader(gb);
        }
Example #2
0
 public frmWarpProps(WarpLoader w, int g, int la, Program.GameTypes gm, GBHL.GBFile gbf)
 {
     game        = gm;
     warpLoader  = w;
     group       = g;
     lastAddress = la;
     gb          = gbf;
     InitializeComponent();
 }