Improved error reporting a little and changes the list in the Warnings & Errors dialog window

This commit is contained in:
codeimp 2009-05-10 16:02:08 +00:00
parent 1fc8947d29
commit ec40df4765
33 changed files with 195 additions and 163 deletions

View file

@ -92,7 +92,7 @@ namespace CodeImp.DoomBuilder.Data
if(reader is UnknownImageReader)
{
// Data is in an unknown format!
General.ErrorLogger.Add(ErrorType.Error, "Sprite lump '" + Name + "' data format could not be read");
General.ErrorLogger.Add(ErrorType.Error, "Sprite lump '" + Name + "' data format could not be read. Does this lump contain valid picture data at all?");
bitmap = null;
}
else
@ -129,7 +129,7 @@ namespace CodeImp.DoomBuilder.Data
else
{
// Missing a patch lump!
General.ErrorLogger.Add(ErrorType.Error, "Missing sprite lump '" + Name + "'");
General.ErrorLogger.Add(ErrorType.Error, "Missing sprite lump '" + Name + "'. Forgot to include required resources?");
}
// Pass on to base