Esempio n. 1
0
        private void warpToLevelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            editFileToolStripMenuItem.Checked        = false;
            configureLayoutToolStripMenuItem.Checked = false;

            wd = new WarpDialog(mm.GetCurrentLevel());
            wd.ShowDialog();
            mm.WriteWarp(wd.warp, wd.level, wd.area);
        }
        private void warpToLevelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (mm.IsDecomp)
            {
                MessageBox.Show("No cheating on decomp ROMs allowed FUNgineer", "Decomp Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            wd = new WarpDialog(mm.GetCurrentLevel());
            DialogResult r = wd.ShowDialog();

            if (r == DialogResult.OK)
            {
                mm.WriteWarp(wd.warp, wd.level, wd.area);
            }
        }