(CB): added common signature.

This commit is contained in:
morkt 2018-09-09 17:25:55 +04:00
parent c4383ebd2c
commit be5a951513

View File

@ -120,6 +120,12 @@ namespace GameRes.Formats.Seraphim
public override string Description { get { return "Seraphim engine image format"; } }
public override uint Signature { get { return 0; } }
public SeraphCbImage ()
{
// common case for 256-colors images
Signatures = new uint[] { 0x01004243, 0 };
}
public override ImageMetaData ReadMetaData (IBinaryStream stream)
{
var header = stream.ReadHeader (0x10);