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

@ -77,7 +77,7 @@ namespace CodeImp.DoomBuilder.Data
if(reader is UnknownImageReader)
{
// Data is in an unknown format!
General.ErrorLogger.Add(ErrorType.Error, "Flat lump '" + Name + "' data format could not be read");
General.ErrorLogger.Add(ErrorType.Error, "Flat lump '" + Name + "' data format could not be read. Does this lump contain valid picture data at all?");
bitmap = null;
}
else
@ -107,7 +107,7 @@ namespace CodeImp.DoomBuilder.Data
else
{
// Missing a patch lump!
General.ErrorLogger.Add(ErrorType.Error, "Missing flat lump '" + Name + "'");
General.ErrorLogger.Add(ErrorType.Error, "Missing flat lump '" + Name + "'. Did you forget to include required resources?");
loadfailed = true;
}