(IResource.CanWrite): new property.

(ArchiveFormat.CanCreate): renamed to CanWrite.
This commit is contained in:
morkt
2016-10-11 00:05:22 +04:00
parent 3c5a61d580
commit f1d66206bc
248 changed files with 323 additions and 279 deletions

View File

@@ -42,7 +42,7 @@ namespace GameRes.Formats.Ikura
public override string Description { get { return "Digital Romance System resource archive"; } }
public override uint Signature { get { return 0; } }
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public DrsOpener ()
{
@@ -122,7 +122,7 @@ namespace GameRes.Formats.Ikura
public override string Description { get { return "IKURA GDL resource archive"; } }
public override uint Signature { get { return 0x4d324d53; } } // 'SM2M'
public override bool IsHierarchic { get { return false; } }
public override bool CanCreate { get { return false; } }
public override bool CanWrite { get { return false; } }
public MpxOpener ()
{

View File

@@ -42,6 +42,7 @@ namespace GameRes.Formats.Ikura
public override string Tag { get { return "DRG"; } }
public override string Description { get { return "Digital Romance System image format"; } }
public override uint Signature { get { return ~0x4c4c5546u; } } // 'FULL'
public override bool CanWrite { get { return true; } }
public DrgFormat ()
{

View File

@@ -43,6 +43,7 @@ namespace GameRes.Formats.Ikura
public override string Tag { get { return "GGP"; } }
public override string Description { get { return "Digital Romance System encrypted image format"; } }
public override uint Signature { get { return 0x46504747u; } } // 'GGPF'
public override bool CanWrite { get { return false; } }
public override ImageMetaData ReadMetaData (Stream stream)
{