updated diagrams and added sharp zip lib for pk3 reader

This commit is contained in:
codeimp 2007-10-27 16:21:43 +00:00
parent 996f65c809
commit da829ebc0a
10 changed files with 12 additions and 3 deletions

BIN
Build/Sharpzip.dll Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
Documents/data_classes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
Documents/io_classes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -216,12 +216,11 @@
<Compile Include="Rendering\Things2DShader.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Sharpzip, Version=0.85.2.329, Culture=neutral, processorArchitecture=MSIL" />
<Reference Include="SlimDX, Version=1.0.2851.40166, Culture=neutral, processorArchitecture=x86" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Interface\AboutForm.resx">

View file

@ -25,6 +25,7 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using CodeImp.DoomBuilder.IO;
using ICSharpCode.SharpZipLib.Zip;
#endregion
@ -52,6 +53,15 @@ namespace CodeImp.DoomBuilder.Data
// Initialize
General.WriteLogLine("Opening PK3 resource '" + location.location + "'");
ZipInputStream z = new ZipInputStream(File.Open(dl.location, FileMode.Open, FileAccess.Read, FileShare.ReadWrite));
ZipEntry ze;
while((ze = z.GetNextEntry()) != null)
{
General.WriteLogLine(ze.Name);
}
z.Dispose();
// We have no destructor
GC.SuppressFinalize(this);
}