Shipwright/StormLib/src/sparse/sparse.h

18 lines
982 B
C

/*****************************************************************************/
/* 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__