Exemple #1
0
        internal static void BuidRelease(MapSet mapSet)
        {
            String MADSFullPath     = "";
            String AssemblyFullPath = "";

            if (!CheckMadsPath(ref MADSFullPath, ref AssemblyFullPath))
            {
                return;
            }

            String ExomizerFullPath = "";

            if (!CheckExomizerPath(ref ExomizerFullPath))
            {
                return;
            }

            FormRunMADS formRunMADS = new FormRunMADS(mapSet, MADSFullPath, AssemblyFullPath, ExomizerFullPath);

            _ = formRunMADS.ShowDialog();
        }
Exemple #2
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            switch (typeNode)
            {
            case pbx1.TypeNode.MapInit:
                Map.InitRoutine = scintilla1.Text;
                break;

            case pbx1.TypeNode.MapExec:
                Map.ExecRoutine = scintilla1.Text;
                break;

            case pbx1.TypeNode.MapTileCollision:
                Map.TileCollisionRoutine = scintilla1.Text;
                break;
            }


            if (MapSet.SSave(Map.MapSet))
            {
                FormRunMADS.Compile(Map.MapSet);
            }
        }