mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: mark GAME_EXPORT's
This commit is contained in:
@@ -90,17 +90,17 @@ static const dword crc32table[NUM_BYTES] =
|
||||
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
|
||||
};
|
||||
|
||||
void CRC32_Init( dword *pulCRC )
|
||||
void GAME_EXPORT CRC32_Init( dword *pulCRC )
|
||||
{
|
||||
*pulCRC = CRC32_INIT_VALUE;
|
||||
}
|
||||
|
||||
dword CRC32_Final( dword pulCRC )
|
||||
dword GAME_EXPORT CRC32_Final( dword pulCRC )
|
||||
{
|
||||
return pulCRC ^ CRC32_XOR_VALUE;
|
||||
}
|
||||
|
||||
void CRC32_ProcessByte( dword *pulCRC, byte ch )
|
||||
void GAME_EXPORT CRC32_ProcessByte( dword *pulCRC, byte ch )
|
||||
{
|
||||
dword ulCrc = *pulCRC;
|
||||
|
||||
@@ -109,7 +109,7 @@ void CRC32_ProcessByte( dword *pulCRC, byte ch )
|
||||
*pulCRC = ulCrc;
|
||||
}
|
||||
|
||||
void CRC32_ProcessBuffer( dword *pulCRC, const void *pBuffer, int nBuffer )
|
||||
void GAME_EXPORT CRC32_ProcessBuffer( dword *pulCRC, const void *pBuffer, int nBuffer )
|
||||
{
|
||||
dword ulCrc = *pulCRC, tmp;
|
||||
byte *pb = (byte *)pBuffer;
|
||||
|
||||
Reference in New Issue
Block a user