Files
CnC_Remastered_Collection/code/redalert/crc32.h
T

21 lines
239 B
C++

// crc32.h
//
// https://xhp.xwis.net/documents/MIX_Format.html
class Ccrc
{
public:
void do_block(const void* data, int size);
void init()
{
m_crc = 0;
}
int get_crc() const
{
return m_crc;
}
private:
unsigned int m_crc;
};