summaryrefslogtreecommitdiff
path: root/StormLib/src/sparse/sparse.h
diff options
context:
space:
mode:
authorBaoulettes <perlouzerie@hotmail.fr>2022-06-20 22:32:45 +0200
committerGitHub <noreply@github.com>2022-06-20 22:32:45 +0200
commit14df96eacdc85f1c3742dca4ed80d67dc8a862e4 (patch)
tree100d7103930cd0538ef5ad195e01db9c611c0cc4 /StormLib/src/sparse/sparse.h
parentea0ea0366be367fa6c8015772728489a22ebfdde (diff)
parent39d8b77b0254138913daac7b4bd39702bc558b85 (diff)
Merge branch 'develop' into 3DProjectiles
Diffstat (limited to 'StormLib/src/sparse/sparse.h')
-rw-r--r--StormLib/src/sparse/sparse.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/StormLib/src/sparse/sparse.h b/StormLib/src/sparse/sparse.h
new file mode 100644
index 000000000..12f62b526
--- /dev/null
+++ b/StormLib/src/sparse/sparse.h
@@ -0,0 +1,17 @@
+/*****************************************************************************/
+/* sparse.h Copyright (c) Ladislav Zezula 2010 */
+/*---------------------------------------------------------------------------*/
+/* implementation of Sparse compression, used in Starcraft II */
+/*---------------------------------------------------------------------------*/
+/* Date Ver Who Comment */
+/* -------- ---- --- ------- */
+/* 05.03.10 1.00 Lad The first version of sparse.h */
+/*****************************************************************************/
+
+#ifndef __SPARSE_H__
+#define __SPARSE_H__
+
+void CompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);
+int DecompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);
+
+#endif // __SPARSE_H__