From 99366a7a9affb1548a2a07619b7fb3cef2a9822c Mon Sep 17 00:00:00 2001 From: barubary Date: Sat, 14 May 2011 21:35:12 +0000 Subject: [PATCH] C#: made a start on the Huffman compression algorithm; the Huffman tree for 8-bit datablocks is now created. --- CSharp/DSDecmp/DSDecmp.csproj | 1 + CSharp/DSDecmp/Formats/LZOvl.cs | 15 ++- CSharp/DSDecmp/Formats/Nitro/Huffman.cs | 124 +++++++++++++++++- .../DSDecmp/Utils/SimpleReversePrioQueue.cs | 60 +++++++++ 4 files changed, 195 insertions(+), 5 deletions(-) create mode 100644 CSharp/DSDecmp/Utils/SimpleReversePrioQueue.cs diff --git a/CSharp/DSDecmp/DSDecmp.csproj b/CSharp/DSDecmp/DSDecmp.csproj index c5b7fde..b8f48a8 100644 --- a/CSharp/DSDecmp/DSDecmp.csproj +++ b/CSharp/DSDecmp/DSDecmp.csproj @@ -60,6 +60,7 @@ +