Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
664 B
C++
26 lines
664 B
C++
#ifndef _CRC32STATIC_H_
|
|
#define _CRC32STATIC_H_
|
|
|
|
#include "Common.h"
|
|
|
|
class CCrc32Static
|
|
{
|
|
public:
|
|
CCrc32Static();
|
|
virtual ~CCrc32Static();
|
|
|
|
static DWORD StringCrc32(LPCTSTR szString, DWORD &dwCrc32);
|
|
static DWORD FileCrc32Streams(LPCTSTR szFilename, DWORD &dwCrc32);
|
|
static DWORD FileCrc32Win32(LPCTSTR szFilename, DWORD &dwCrc32);
|
|
static DWORD FileCrc32Filemap(LPCTSTR szFilename, DWORD &dwCrc32);
|
|
static DWORD FileCrc32Assembly(LPCTSTR szFilename, DWORD &dwCrc32);
|
|
|
|
protected:
|
|
static bool GetFileSizeQW(const HANDLE hFile, QWORD &qwSize);
|
|
static inline void CalcCrc32(const BYTE byte, DWORD &dwCrc32);
|
|
|
|
static DWORD s_arrdwCrc32Table[256];
|
|
};
|
|
|
|
#endif
|