summaryrefslogtreecommitdiff
path: root/StormLib/src/sparse/sparse.h
diff options
context:
space:
mode:
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__