mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-12-01 08:21:39 +00:00
b2b8f43c9d
Builds, runs, no stereo or much else is working, menus work ok though
18 lines
552 B
C
18 lines
552 B
C
#ifndef __CRC32_H__
|
|
#define __CRC32_H__
|
|
|
|
/*
|
|
===============================================================================
|
|
|
|
Calculates a checksum for a block of data
|
|
using the CRC-32.
|
|
|
|
===============================================================================
|
|
*/
|
|
|
|
void CRC32_InitChecksum( unsigned int &crcvalue );
|
|
void CRC32_UpdateChecksum( unsigned int &crcvalue, const void *data, int length );
|
|
void CRC32_FinishChecksum( unsigned int &crcvalue );
|
|
unsigned int CRC32_BlockChecksum( const void *data, int length );
|
|
|
|
#endif /* !__CRC32_H__ */
|