- updated resource icons

- implemented a warning message when loading a PWAD without any resources selected
This commit is contained in:
codeimp 2009-01-14 11:07:23 +00:00
parent 0d71333788
commit 5ba5ad7fb9
3 changed files with 119 additions and 115 deletions

View file

@ -173,11 +173,11 @@ namespace CodeImp.DoomBuilder.Controls
this.resourceitems.UseCompatibleStateImageBehavior = false;
this.resourceitems.View = System.Windows.Forms.View.Details;
this.resourceitems.ClientSizeChanged += new System.EventHandler(this.resourceitems_ClientSizeChanged);
this.resourceitems.DragDrop += new System.Windows.Forms.DragEventHandler(this.resourceitems_DragDrop);
this.resourceitems.DoubleClick += new System.EventHandler(this.resourceitems_DoubleClick);
this.resourceitems.DragOver += new System.Windows.Forms.DragEventHandler(this.resourceitems_DragOver);
this.resourceitems.SizeChanged += new System.EventHandler(this.resources_SizeChanged);
this.resourceitems.DoubleClick += new System.EventHandler(this.resourceitems_DoubleClick);
this.resourceitems.DragDrop += new System.Windows.Forms.DragEventHandler(this.resourceitems_DragDrop);
this.resourceitems.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.resourceitems_ItemSelectionChanged);
this.resourceitems.DragOver += new System.Windows.Forms.DragEventHandler(this.resourceitems_DragOver);
//
// column
//

View file

@ -148,115 +148,104 @@
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAA6
GQAAAk1TRnQBSQFMAgEBBgEAAQkBAAEEAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
AwABIAMAAQEBAAEgBgABIDYAAQkClgH/AQkClgH/AQkCWQH/AQkCWQH/AQkCWQH/AQkCWQH/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AdcBtAH/AeYB1wG0Af8B5gHXAbQB/wHmAdcBtAH/AeAB1QGx
Af8BtAGuAY8B/wFgAVQBMQH/ASMBFgEIAf8BEAEGAQoB/9AAAQoBBAEGAf8BCAEDAQUB/wEIAQMBBQH/
AQgBAwEFAf8BCAEDAQUB/wEIAQMBBQH/AQgBAwEFAf8BCAEDAQUB/wEIAQMBBQH/AQoBBAEGAf8BEAEG
AQoB/0gAAUIBTQE+BwABPgMAASgDAAFAAwABIAMAAQEBAAEBBgABARYAA/8BAAH/AYEB/wHABAAB+AEB
AeAFAAHwAQEBwAUAAeABAQGABQABwAEBAeAFAAHAAQEBwAUAAcABAQHABQABwAEDAcABIQQAAcABBwHA
ASMEAAHAAQcBwAEjBAABwAEHAcABIwQAAcABBwHAASMEAAHAAQcBwAEjBAABwAEHAYABAQQAAcABBwHA
AQEEAAL/AeABAwQABf8BwwH/AYEC/wH4AQcB4AEBAf8BgQEAAQcB8AEHAcABAQEAAQEBAAEDAeABBwGA
AQEBAAEBAQABAwHAAQcB4AEjAQABAQEAAQEBwAEHAcABIwEAAQEBAAEBAcABBwHAASMBAAEBAgABwAEH
AcABIwQAAcABBwHAASMEAAHAAQcBwAEjAwABBwHAAQcBwAEjAQABBwEAAQcBwAEHAcABIwEAAQcBAAH/
AcABBwHAASMBAAH/AYEB/wHAAQcBgAEBAYED/wHAAQcBwAEBBv8B4AEDAv8L
</value>
</data>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View file

@ -305,6 +305,10 @@ namespace CodeImp.DoomBuilder.Windows
return;
}
// Collect information
ConfigurationInfo configinfo = General.Configs[config.SelectedIndex];
DataLocationList locations = datalocations.GetResources();
// No map selected?
if(mapslist.SelectedItems.Count == 0)
{
@ -313,12 +317,23 @@ namespace CodeImp.DoomBuilder.Windows
mapslist.Focus();
return;
}
// Check if we should warn the user for missing resources
if((wadfile.Type != WAD.TYPE_IWAD) && (locations.Count == 0) && (configinfo.Resources.Count == 0))
{
if(MessageBox.Show(this, "You are about to load a map without selecting any resources. Textures, flats and " +
"sprites may not be shown correctly or may not show up at all. Do you want to continue?", Application.ProductName,
MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == DialogResult.No)
{
return;
}
}
// Apply changes
options.ClearResources();
options.ConfigFile = General.Configs[config.SelectedIndex].Filename;
options.ConfigFile = configinfo.Filename;
options.CurrentName = mapslist.SelectedItems[0].Text;
options.CopyResources(datalocations.GetResources());
options.CopyResources(locations);
// Hide window
wadfile.Dispose();