mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
pk3 resource location support
This commit is contained in:
parent
9fe4910e3a
commit
383ed6583f
13 changed files with 395 additions and 106 deletions
BIN
Resources/Icons/PK3.ico
Normal file
BIN
Resources/Icons/PK3.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
Resources/Icons/PK3Locked.ico
Normal file
BIN
Resources/Icons/PK3Locked.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -54,6 +54,7 @@
|
|||
<Compile Include="Data\FlatImage.cs" />
|
||||
<Compile Include="Data\NullImage.cs" />
|
||||
<Compile Include="Data\PatchNames.cs" />
|
||||
<Compile Include="Data\PK3Reader.cs" />
|
||||
<Compile Include="Data\Playpal.cs" />
|
||||
<Compile Include="Data\ResourceImage.cs" />
|
||||
<Compile Include="Data\SpriteImage.cs" />
|
||||
|
|
|
@ -31,6 +31,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
// Constants
|
||||
public const int RESOURCE_WAD = 0;
|
||||
public const int RESOURCE_DIRECTORY = 1;
|
||||
public const int RESOURCE_PK3 = 2;
|
||||
|
||||
// Members
|
||||
public int type;
|
||||
|
|
|
@ -144,6 +144,11 @@ namespace CodeImp.DoomBuilder.Data
|
|||
case DataLocation.RESOURCE_DIRECTORY:
|
||||
c = new DirectoryReader(dl);
|
||||
break;
|
||||
|
||||
// PK3 file container
|
||||
case DataLocation.RESOURCE_PK3:
|
||||
c = new PK3Reader(dl);
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch(Exception)
|
||||
|
|
94
Source/Data/PK3Reader.cs
Normal file
94
Source/Data/PK3Reader.cs
Normal file
|
@ -0,0 +1,94 @@
|
|||
|
||||
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
||||
* This program is released under GNU General Public License
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Namespaces
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using CodeImp.DoomBuilder.IO;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace CodeImp.DoomBuilder.Data
|
||||
{
|
||||
public sealed class PK3Reader : DataReader
|
||||
{
|
||||
#region ================== Constants
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Variables
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Properties
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Constructor / Disposer
|
||||
|
||||
// Constructor
|
||||
public PK3Reader(DataLocation dl) : base(dl)
|
||||
{
|
||||
// Initialize
|
||||
General.WriteLogLine("Opening PK3 resource '" + location.location + "'");
|
||||
|
||||
// We have no destructor
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
// Disposer
|
||||
public override void Dispose()
|
||||
{
|
||||
// Not already disposed?
|
||||
if(!isdisposed)
|
||||
{
|
||||
General.WriteLogLine("Closing PK3 resource '" + location.location + "'");
|
||||
|
||||
// Clean up
|
||||
|
||||
// Done
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Palette
|
||||
|
||||
// This loads the PLAYPAL palette
|
||||
public override Playpal LoadPalette()
|
||||
{
|
||||
// Error when suspended
|
||||
if(issuspended) throw new Exception("Data reader is suspended");
|
||||
|
||||
// Not yet implemented
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Textures
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
3
Source/Interface/ConfigForm.Designer.cs
generated
3
Source/Interface/ConfigForm.Designer.cs
generated
|
@ -89,7 +89,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
label6.AutoEllipsis = true;
|
||||
label6.Location = new System.Drawing.Point(12, 15);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new System.Drawing.Size(384, 37);
|
||||
label6.Size = new System.Drawing.Size(393, 37);
|
||||
label6.TabIndex = 21;
|
||||
label6.Text = "These are the resources that will be loaded when this configuration is chosen for" +
|
||||
" editing. Usually you add your IWAD (like doom.wad or doom2.wad) here.";
|
||||
|
@ -234,6 +234,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.configdata.DialogOffset = new System.Drawing.Point(-120, 10);
|
||||
this.configdata.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.configdata.Location = new System.Drawing.Point(15, 55);
|
||||
this.configdata.Name = "configdata";
|
||||
this.configdata.Size = new System.Drawing.Size(381, 220);
|
||||
|
|
6
Source/Interface/ResourceListEditor.Designer.cs
generated
6
Source/Interface/ResourceListEditor.Designer.cs
generated
|
@ -190,8 +190,10 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.images.TransparentColor = System.Drawing.Color.Transparent;
|
||||
this.images.Images.SetKeyName(0, "Folder.ico");
|
||||
this.images.Images.SetKeyName(1, "File.ico");
|
||||
this.images.Images.SetKeyName(2, "FolderLocked.ico");
|
||||
this.images.Images.SetKeyName(3, "FileLocked.ico");
|
||||
this.images.Images.SetKeyName(2, "PK3.ico");
|
||||
this.images.Images.SetKeyName(3, "FolderLocked.ico");
|
||||
this.images.Images.SetKeyName(4, "FileLocked.ico");
|
||||
this.images.Images.SetKeyName(5, "PK3Locked.ico");
|
||||
//
|
||||
// ResourceListEditor
|
||||
//
|
||||
|
|
|
@ -68,6 +68,32 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
|
||||
#region ================== Methods
|
||||
|
||||
// This gets the icon index for a resource location type
|
||||
private int GetIconIndex(int locationtype, bool locked)
|
||||
{
|
||||
int lockedaddition;
|
||||
|
||||
// Locked?
|
||||
if(locked) lockedaddition = (images.Images.Count / 2);
|
||||
else lockedaddition = 0;
|
||||
|
||||
// What type?
|
||||
switch(locationtype)
|
||||
{
|
||||
case DataLocation.RESOURCE_DIRECTORY:
|
||||
return 0 + lockedaddition;
|
||||
|
||||
case DataLocation.RESOURCE_WAD:
|
||||
return 1 + lockedaddition;
|
||||
|
||||
case DataLocation.RESOURCE_PK3:
|
||||
return 2 + lockedaddition;
|
||||
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
// This will show a fixed list
|
||||
public void FixedResourceLocationList(DataLocationList list)
|
||||
{
|
||||
|
@ -88,12 +114,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// Add item as fixed
|
||||
resourceitems.Items.Insert(0, new ListViewItem(list[i].location));
|
||||
resourceitems.Items[0].Tag = list[i];
|
||||
|
||||
// Set icon
|
||||
if(list[i].type == DataLocation.RESOURCE_DIRECTORY)
|
||||
resourceitems.Items[0].ImageIndex = 2;
|
||||
else if(list[i].type == DataLocation.RESOURCE_WAD)
|
||||
resourceitems.Items[0].ImageIndex = 3;
|
||||
resourceitems.Items[0].ImageIndex = GetIconIndex(list[i].type, true);
|
||||
|
||||
// Set disabled
|
||||
resourceitems.Items[0].ForeColor = SystemColors.GrayText;
|
||||
|
@ -158,13 +179,8 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
index = resourceitems.Items.Count;
|
||||
resourceitems.Items.Add(new ListViewItem(rl.location));
|
||||
resourceitems.Items[index].Tag = rl;
|
||||
|
||||
// Set icon
|
||||
if(rl.type == DataLocation.RESOURCE_DIRECTORY)
|
||||
resourceitems.Items[index].ImageIndex = 0;
|
||||
else if(rl.type == DataLocation.RESOURCE_WAD)
|
||||
resourceitems.Items[index].ImageIndex = 1;
|
||||
|
||||
resourceitems.Items[index].ImageIndex = GetIconIndex(rl.type, false);
|
||||
|
||||
// Set normal color
|
||||
resourceitems.Items[index].ForeColor = SystemColors.WindowText;
|
||||
|
||||
|
@ -237,13 +253,8 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
rl = resoptions.ResourceLocation;
|
||||
selecteditem.Text = rl.location;
|
||||
selecteditem.Tag = rl;
|
||||
|
||||
// Set icon
|
||||
if(rl.type == DataLocation.RESOURCE_DIRECTORY)
|
||||
selecteditem.ImageIndex = 0;
|
||||
else if(rl.type == DataLocation.RESOURCE_WAD)
|
||||
selecteditem.ImageIndex = 1;
|
||||
|
||||
selecteditem.ImageIndex = GetIconIndex(rl.type, false);
|
||||
|
||||
// Done
|
||||
resourceitems.EndUpdate();
|
||||
|
||||
|
|
|
@ -148,75 +148,115 @@
|
|||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADi
|
||||
DwAAAk1TRnQBSQFMAgEBBAEAAQkBAAEEAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
|
||||
AwABIAMAAQEBAAEgBgABIP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AxgABCAKWAf8BCAKW
|
||||
Af8BCAJYAf8BCAJYAf8BCAJYAf8BCAJYAf8oAAEIApYB/wEIApYB/wEIAlgB/wEIAlgB/wEIAlgB/wEI
|
||||
AlgB/1gAAx0B/wMdAf8DHQH/Ax0B/wMdA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wHgAQcBgAEB
|
||||
AQABAQEAAQMBwAEHAeABIwEAAQEBAAEBAcABBwHAASMBAAEBAQABAQHAAQcBwAEjAQABAQIAAcABBwHA
|
||||
ASMEAAHAAQcBwAEjBAABwAEHAcABIwMAAQcBwAEHAcABIwEAAQcBAAEHAcABBwHAASMBAAEHAQAB/wHA
|
||||
AQcBwAEjAQAB/wGBAf8BwAEHAYABAQGBA/8BwAEHAcABAQb/AeABAwL/Cw==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
|
|
82
Source/Interface/ResourceOptionsForm.Designer.cs
generated
82
Source/Interface/ResourceOptionsForm.Designer.cs
generated
|
@ -30,6 +30,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
{
|
||||
System.Windows.Forms.Label label1;
|
||||
System.Windows.Forms.Label label2;
|
||||
System.Windows.Forms.Label label3;
|
||||
this.tabs = new System.Windows.Forms.TabControl();
|
||||
this.wadfiletab = new System.Windows.Forms.TabPage();
|
||||
this.browsewad = new System.Windows.Forms.Button();
|
||||
|
@ -43,11 +44,17 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.apply = new System.Windows.Forms.Button();
|
||||
this.wadfiledialog = new System.Windows.Forms.OpenFileDialog();
|
||||
this.dirdialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.pk3filetab = new System.Windows.Forms.TabPage();
|
||||
this.browsepk3 = new System.Windows.Forms.Button();
|
||||
this.pk3location = new System.Windows.Forms.TextBox();
|
||||
this.pk3filedialog = new System.Windows.Forms.OpenFileDialog();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
this.tabs.SuspendLayout();
|
||||
this.wadfiletab.SuspendLayout();
|
||||
this.directorytab.SuspendLayout();
|
||||
this.pk3filetab.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
|
@ -74,12 +81,13 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tabs.Controls.Add(this.wadfiletab);
|
||||
this.tabs.Controls.Add(this.directorytab);
|
||||
this.tabs.Controls.Add(this.pk3filetab);
|
||||
this.tabs.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabs.ItemSize = new System.Drawing.Size(110, 19);
|
||||
this.tabs.Location = new System.Drawing.Point(12, 12);
|
||||
this.tabs.Location = new System.Drawing.Point(9, 11);
|
||||
this.tabs.Name = "tabs";
|
||||
this.tabs.SelectedIndex = 0;
|
||||
this.tabs.Size = new System.Drawing.Size(353, 161);
|
||||
this.tabs.Size = new System.Drawing.Size(369, 161);
|
||||
this.tabs.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.tabs.TabIndex = 0;
|
||||
//
|
||||
|
@ -92,7 +100,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.wadfiletab.Location = new System.Drawing.Point(4, 23);
|
||||
this.wadfiletab.Name = "wadfiletab";
|
||||
this.wadfiletab.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.wadfiletab.Size = new System.Drawing.Size(345, 134);
|
||||
this.wadfiletab.Size = new System.Drawing.Size(361, 134);
|
||||
this.wadfiletab.TabIndex = 0;
|
||||
this.wadfiletab.Text = "From WAD File";
|
||||
this.wadfiletab.UseVisualStyleBackColor = true;
|
||||
|
@ -100,7 +108,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// browsewad
|
||||
//
|
||||
this.browsewad.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.browsewad.Location = new System.Drawing.Point(296, 36);
|
||||
this.browsewad.Location = new System.Drawing.Point(315, 36);
|
||||
this.browsewad.Name = "browsewad";
|
||||
this.browsewad.Size = new System.Drawing.Size(30, 23);
|
||||
this.browsewad.TabIndex = 2;
|
||||
|
@ -113,7 +121,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.wadlocation.Location = new System.Drawing.Point(17, 37);
|
||||
this.wadlocation.Name = "wadlocation";
|
||||
this.wadlocation.ReadOnly = true;
|
||||
this.wadlocation.Size = new System.Drawing.Size(273, 20);
|
||||
this.wadlocation.Size = new System.Drawing.Size(292, 20);
|
||||
this.wadlocation.TabIndex = 1;
|
||||
//
|
||||
// directorytab
|
||||
|
@ -127,7 +135,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.directorytab.Location = new System.Drawing.Point(4, 23);
|
||||
this.directorytab.Name = "directorytab";
|
||||
this.directorytab.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.directorytab.Size = new System.Drawing.Size(345, 134);
|
||||
this.directorytab.Size = new System.Drawing.Size(361, 134);
|
||||
this.directorytab.TabIndex = 1;
|
||||
this.directorytab.Text = "From Directory";
|
||||
this.directorytab.UseVisualStyleBackColor = true;
|
||||
|
@ -155,7 +163,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// browsedir
|
||||
//
|
||||
this.browsedir.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.browsedir.Location = new System.Drawing.Point(296, 91);
|
||||
this.browsedir.Location = new System.Drawing.Point(316, 91);
|
||||
this.browsedir.Name = "browsedir";
|
||||
this.browsedir.Size = new System.Drawing.Size(30, 23);
|
||||
this.browsedir.TabIndex = 5;
|
||||
|
@ -169,14 +177,14 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.dirlocation.Location = new System.Drawing.Point(17, 92);
|
||||
this.dirlocation.Name = "dirlocation";
|
||||
this.dirlocation.ReadOnly = true;
|
||||
this.dirlocation.Size = new System.Drawing.Size(273, 20);
|
||||
this.dirlocation.Size = new System.Drawing.Size(293, 20);
|
||||
this.dirlocation.TabIndex = 4;
|
||||
//
|
||||
// cancel
|
||||
//
|
||||
this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.cancel.Location = new System.Drawing.Point(253, 189);
|
||||
this.cancel.Location = new System.Drawing.Point(266, 192);
|
||||
this.cancel.Name = "cancel";
|
||||
this.cancel.Size = new System.Drawing.Size(112, 25);
|
||||
this.cancel.TabIndex = 15;
|
||||
|
@ -187,7 +195,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// apply
|
||||
//
|
||||
this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.apply.Location = new System.Drawing.Point(135, 189);
|
||||
this.apply.Location = new System.Drawing.Point(148, 192);
|
||||
this.apply.Name = "apply";
|
||||
this.apply.Size = new System.Drawing.Size(112, 25);
|
||||
this.apply.TabIndex = 14;
|
||||
|
@ -204,12 +212,58 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
//
|
||||
this.dirdialog.Description = "Please select a directory from which to load images when editing your map...";
|
||||
//
|
||||
// pk3filetab
|
||||
//
|
||||
this.pk3filetab.Controls.Add(this.browsepk3);
|
||||
this.pk3filetab.Controls.Add(this.pk3location);
|
||||
this.pk3filetab.Controls.Add(label3);
|
||||
this.pk3filetab.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.pk3filetab.Location = new System.Drawing.Point(4, 23);
|
||||
this.pk3filetab.Name = "pk3filetab";
|
||||
this.pk3filetab.Size = new System.Drawing.Size(361, 134);
|
||||
this.pk3filetab.TabIndex = 2;
|
||||
this.pk3filetab.Text = "From PK3 File";
|
||||
this.pk3filetab.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// browsepk3
|
||||
//
|
||||
this.browsepk3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.browsepk3.Location = new System.Drawing.Point(315, 36);
|
||||
this.browsepk3.Name = "browsepk3";
|
||||
this.browsepk3.Size = new System.Drawing.Size(30, 23);
|
||||
this.browsepk3.TabIndex = 5;
|
||||
this.browsepk3.Text = "...";
|
||||
this.browsepk3.UseVisualStyleBackColor = true;
|
||||
this.browsepk3.Click += new System.EventHandler(this.browsepk3_Click);
|
||||
//
|
||||
// pk3location
|
||||
//
|
||||
this.pk3location.Location = new System.Drawing.Point(17, 37);
|
||||
this.pk3location.Name = "pk3location";
|
||||
this.pk3location.ReadOnly = true;
|
||||
this.pk3location.Size = new System.Drawing.Size(292, 20);
|
||||
this.pk3location.TabIndex = 4;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new System.Drawing.Point(15, 20);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(98, 14);
|
||||
label3.TabIndex = 3;
|
||||
label3.Text = "PK3 File Resource:";
|
||||
//
|
||||
// pk3filedialog
|
||||
//
|
||||
this.pk3filedialog.Filter = "Doom PK3 Files (*.pk3)|*.pk3";
|
||||
this.pk3filedialog.Title = "Browse PK3 File";
|
||||
//
|
||||
// ResourceOptionsForm
|
||||
//
|
||||
this.AcceptButton = this.apply;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.CancelButton = this.cancel;
|
||||
this.ClientSize = new System.Drawing.Size(377, 226);
|
||||
this.ClientSize = new System.Drawing.Size(386, 226);
|
||||
this.Controls.Add(this.cancel);
|
||||
this.Controls.Add(this.apply);
|
||||
this.Controls.Add(this.tabs);
|
||||
|
@ -229,6 +283,8 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.wadfiletab.PerformLayout();
|
||||
this.directorytab.ResumeLayout(false);
|
||||
this.directorytab.PerformLayout();
|
||||
this.pk3filetab.ResumeLayout(false);
|
||||
this.pk3filetab.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -248,5 +304,9 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
private System.Windows.Forms.CheckBox dir_textures;
|
||||
private System.Windows.Forms.OpenFileDialog wadfiledialog;
|
||||
private System.Windows.Forms.FolderBrowserDialog dirdialog;
|
||||
private System.Windows.Forms.TabPage pk3filetab;
|
||||
private System.Windows.Forms.Button browsepk3;
|
||||
private System.Windows.Forms.TextBox pk3location;
|
||||
private System.Windows.Forms.OpenFileDialog pk3filedialog;
|
||||
}
|
||||
}
|
|
@ -53,17 +53,20 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
{
|
||||
// Setup for WAD File
|
||||
case DataLocation.RESOURCE_WAD:
|
||||
wadfiletab.Select();
|
||||
wadlocation.Text = res.location;
|
||||
break;
|
||||
|
||||
// Setup for Directory
|
||||
case DataLocation.RESOURCE_DIRECTORY:
|
||||
directorytab.Select();
|
||||
dirlocation.Text = res.location;
|
||||
dir_textures.Checked = res.textures;
|
||||
dir_flats.Checked = res.flats;
|
||||
break;
|
||||
|
||||
// Setup for PK3 File
|
||||
case DataLocation.RESOURCE_PK3:
|
||||
pk3location.Text = res.location;
|
||||
break;
|
||||
}
|
||||
|
||||
// Select appropriate tab
|
||||
|
@ -79,7 +82,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// Setup WAD File
|
||||
case DataLocation.RESOURCE_WAD:
|
||||
|
||||
// Check if directory is specified
|
||||
// Check if file is specified
|
||||
if((wadlocation.Text.Length == 0) ||
|
||||
(!File.Exists(wadlocation.Text)))
|
||||
{
|
||||
|
@ -129,6 +132,30 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.Close();
|
||||
}
|
||||
break;
|
||||
|
||||
// Setup PK3 File
|
||||
case DataLocation.RESOURCE_PK3:
|
||||
|
||||
// Check if file is specified
|
||||
if((pk3location.Text.Length == 0) ||
|
||||
(!File.Exists(pk3location.Text)))
|
||||
{
|
||||
// No valid pk3 file specified
|
||||
MessageBox.Show(this, "Please select a valid PK3 File resource.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Apply settings
|
||||
res.type = DataLocation.RESOURCE_PK3;
|
||||
res.location = pk3location.Text;
|
||||
res.textures = false;
|
||||
res.flats = false;
|
||||
|
||||
// Done
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -161,5 +188,16 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
dirlocation.Text = dirdialog.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
// Browse PK3 File clicked
|
||||
private void browsepk3_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Browse for PK3 File
|
||||
if(pk3filedialog.ShowDialog(this) == DialogResult.OK)
|
||||
{
|
||||
// Use this file
|
||||
pk3location.Text = pk3filedialog.FileName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -156,6 +156,39 @@
|
|||
<metadata name="dirlocation.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pk3filetab.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="browsepk3.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pk3location.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label3.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="browsewad.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="wadlocation.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dir_flats.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dir_textures.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="browsedir.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dirlocation.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="cancel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
@ -168,6 +201,9 @@
|
|||
<metadata name="dirdialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>133, 17</value>
|
||||
</metadata>
|
||||
<metadata name="pk3filedialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>227, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
|
Loading…
Reference in a new issue