renamed some ImageDecoder properties and classes.

This commit is contained in:
morkt
2016-10-26 15:42:27 +04:00
parent 2c06c1cbcd
commit c771b13d4e
11 changed files with 46 additions and 46 deletions

View File

@@ -240,7 +240,7 @@ namespace GameRes.Formats.Cyberworks
}
}
input.Position = 0;
return new ImageStreamDecoder (input);
return new ImageFormatDecoder (input);
}
uint DecodeDecimal (ArcView file, long offset)
@@ -409,7 +409,7 @@ namespace GameRes.Formats.Cyberworks
if (id == scheme.Value2)
return new AImageReader (input, scheme);
input.Position = 0;
return new ImageStreamDecoder (input);
return new ImageFormatDecoder (input);
}
byte[] ReadToc (string toc_name)

View File

@@ -52,9 +52,9 @@ namespace GameRes.Formats.Cyberworks
AImageScheme m_scheme;
ImageData m_image;
public Stream Input { get { m_input.Position = 0; return m_input.AsStream; } }
public ImageMetaData Info { get { return m_info; } }
public ImageFormat Format { get { return null; } }
public Stream Source { get { m_input.Position = 0; return m_input.AsStream; } }
public ImageFormat SourceFormat { get { return null; } }
public ImageMetaData Info { get { return m_info; } }
public ImageData Image
{