public AcmdMain() { InitializeComponent(); this.Text = $"{Program.Title} - "; Manager = new WorkspaceManager(); ScriptFiles = new SortedList <string, IScriptCollection>(); }
public Project CreateProject(string filepath, string name, WorkspaceManager manager) { var p = new FitProj { ProjFilepath = filepath, ProjName = name, Platform = ProjPlatform.WiiU, ToolVer = Program.Version, GameVer = "1.1.7", ProjectGuid = Guid.NewGuid() }; using (var fsd = new FolderSelectDialog()) { if (fsd.ShowDialog() == DialogResult.OK) { if (manager.DecompileFighter(fsd.SelectedPath, Path.Combine(p.ProjDirectory, "Moveset"))) { foreach (var file in Directory.EnumerateFiles(Path.Combine(p.ProjDirectory, "Moveset"), "*.*", SearchOption.AllDirectories)) { p.AddFile(file, false); } } } else { return(null); } } return(p); }
public void Reset() { this.Text = $"{Program.AssemblyTitle} {Program.Version} - "; FileTree.Nodes.Clear(); ScriptFiles.Clear(); Viewport.TabPages.Clear(); ParamFile = null; Manager = new WorkspaceManager(); MotionTable = null; IDEMode = IDE_MODE.NONE; }
private void MainForm_Load(object sender, EventArgs e) { Explorer = new WorkspaceExplorer(); AddDockedControl(Explorer, DockState.DockRight); WorkspaceManager = new WorkspaceManager(Explorer); WorkspaceManager.OnWorkspaceOpened += WorkspaceManager_OnWorkspaceOpened; WorkspaceManager.OnProjectAdded += WorkspaceManager_OnProjectAdded; if (!string.IsNullOrEmpty(OpenTarget)) { OpenFile(OpenTarget); } }
public Project CreateProject(string filepath, string name, WorkspaceManager manager) { var p = new FitProj { ProjFilepath = filepath, ProjName = name, Platform = ProjPlatform.WiiU, ToolVer = Program.Version, GameVer = "1.1.7", ProjectGuid = Guid.NewGuid() }; return(p); }
public ACMDMain() { InitializeComponent(); _manager = new WorkspaceManager(); }
public AcmdMain() { InitializeComponent(); _manager = new WorkspaceManager(); }