(WMK): moved to ArcFormats project.

This commit is contained in:
morkt 2018-03-27 14:20:30 +04:00
parent 999168ad7a
commit 1451963e32
2 changed files with 3 additions and 1 deletions

View File

@ -126,6 +126,7 @@
<Compile Include="Cmvs\HuffmanDecoder.cs" />
<Compile Include="Crowd\ImageCRZ.cs" />
<Compile Include="CsWare\ArcDAT.cs" />
<Compile Include="CsWare\ImageB5.cs" />
<Compile Include="CsWare\ImageBPC.cs" />
<Compile Include="Cyberworks\ArcApp.cs" />
<Compile Include="Cyberworks\ArcP8.cs" />
@ -137,6 +138,7 @@
<Compile Include="elf\ImageRMT.cs" />
<Compile Include="Emote\ImageDREF.cs" />
<Compile Include="FC01\ArcPAK.cs" />
<Compile Include="FC01\ImageWMK.cs" />
<Compile Include="FrontWing\ArcVAV.cs" />
<Compile Include="Groover\ArcPCG.cs" />
<Compile Include="HCSystem\ArcPAK.cs" />

View File

@ -51,7 +51,7 @@ namespace GameRes.Formats.Cocktail
public override ImageData Read (IBinaryStream file, ImageMetaData info)
{
file.Position = 0x10;
file.Position = 8;
var pixels = file.ReadBytes ((int)info.Width * (int)info.Height);
return ImageData.Create (info, PixelFormats.Gray8, null, pixels);
}