Reformat mevent server and client scripts

This commit is contained in:
PikalaxALT
2019-04-02 12:22:39 -04:00
committed by huderlem
parent 03badd9c40
commit 6c12d154e7
7 changed files with 335 additions and 580 deletions

View File

@@ -218,7 +218,7 @@ int CountTrailingZeroBits(u32 value)
return 0;
}
u16 CalcCRC16(u8 *data, s32 length)
u16 CalcCRC16(const u8 *data, s32 length)
{
u16 i, j;
u16 crc = 0x1121;
@@ -237,7 +237,7 @@ u16 CalcCRC16(u8 *data, s32 length)
return ~crc;
}
u16 CalcCRC16WithTable(u8 *data, u32 length)
u16 CalcCRC16WithTable(const u8 *data, u32 length)
{
u16 i;
u16 crc = 0x1121;