public void ImportMatVisAnim() { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = FileFilters.FBNV; ofd.Multiselect = true; if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = null; if (IsWiiU) { group = GetOrCreateFolder <FVIS>(VisibiltyAnimType.Material); } else { group = GetOrCreateFolder <FMAA>(MaterialAnimation.AnimationType.Visibilty); } group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportTexPatAnim() { OpenFileDialog ofd = new OpenFileDialog(); if (IsWiiU) { ofd.Filter = FileFilters.FTXP; } else { ofd.Filter = FileFilters.FMAA; } ofd.Multiselect = true; if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = null; if (IsWiiU) { group = GetOrCreateFolder <FTXP>(); } else { group = GetOrCreateFolder <FMAA>(MaterialAnimation.AnimationType.TexturePattern); } group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportColorAnim() { OpenFileDialog ofd = new OpenFileDialog(); if (IsWiiU) { ofd.Filter = FileFilters.GetFilter(typeof(FSHU), MaterialAnimation.AnimationType.Color); } else { ofd.Filter = FileFilters.FMAA; } ofd.Multiselect = true; if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = null; if (IsWiiU) { group = GetOrCreateFolder <FSHU>(MaterialAnimation.AnimationType.Color); } else { group = GetOrCreateFolder <FMAA>(MaterialAnimation.AnimationType.Color); } group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportShapeAnim() { OpenFileDialog ofd = new OpenFileDialog(); if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = GetOrCreateFolder <FSHA>(); group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportBoneVisAnim() { OpenFileDialog ofd = new OpenFileDialog(); if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = GetOrCreateFolder <FVIS>(VisibiltyAnimType.Bone); group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportSceneAnim() { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = FileFilters.FSCN; ofd.Multiselect = true; if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = GetOrCreateFolder <FSCN>(); group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }
public void ImportTexSrtAnim() { OpenFileDialog ofd = new OpenFileDialog(); if (ofd.ShowDialog() != DialogResult.OK) { return; } BFRESGroupNode group = null; if (IsWiiU) { group = GetOrCreateFolder <FSHU>(MaterialAnimation.AnimationType.ShaderParam); } else { group = GetOrCreateFolder <FMAA>(MaterialAnimation.AnimationType.ShaderParam); } group.Import(ofd.FileNames, GetResFile(), GetResFileU()); AddFolder(group); }