update crc
This commit is contained in:
+8
-11
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
Copyright (C) 1996-2001 Id Software, Inc.
|
||||
Copyright (C) 2002-2009 John Fitzgibbons and others
|
||||
Copyright (C) 2026 iikorni
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
@@ -19,15 +20,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef _QUAKE_CRC_H
|
||||
#define _QUAKE_CRC_H
|
||||
|
||||
/* crc.h */
|
||||
|
||||
void CRC_Init(unsigned short *crcvalue);
|
||||
void CRC_ProcessByte(unsigned short *crcvalue, byte data);
|
||||
unsigned short CRC_Value(unsigned short crcvalue);
|
||||
unsigned short CRC_Block (const byte *start, int count); //johnfitz -- texture crc
|
||||
|
||||
#endif /* _QUAKE_CRC_H */
|
||||
#pragma once
|
||||
|
||||
namespace crc {
|
||||
void init(unsigned short *val);
|
||||
void process_byte(unsigned short *val, byte data);
|
||||
unsigned short value(unsigned short val);
|
||||
unsigned short block(const byte *start, int count);
|
||||
}
|
||||
Reference in New Issue
Block a user