Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
25
GameTools/NeoRylClient/Crc32Static.h
Normal file
25
GameTools/NeoRylClient/Crc32Static.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _CRC32STATIC_H_
|
||||
#define _CRC32STATIC_H_
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
class CCrc32Static
|
||||
{
|
||||
public:
|
||||
CCrc32Static();
|
||||
virtual ~CCrc32Static();
|
||||
|
||||
static unsigned long StringCrc32(const char *szString, unsigned long &dwCrc32);
|
||||
static unsigned long FileCrc32Streams(const char *szFilename, unsigned long &dwCrc32);
|
||||
static unsigned long FileCrc32Win32(const char *szFilename, unsigned long &dwCrc32);
|
||||
static unsigned long FileCrc32Filemap(const char *szFilename, unsigned long &dwCrc32);
|
||||
static unsigned long FileCrc32Assembly(const char *szFilename, unsigned long &dwCrc32);
|
||||
|
||||
protected:
|
||||
static bool GetFileSizeQW(const HANDLE hFile, __int64 &qwSize);
|
||||
static inline void CalcCrc32(const unsigned char byte, unsigned long &dwCrc32);
|
||||
|
||||
static unsigned long s_arrdwCrc32Table[256];
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user