32 #define MAX_DESCRIPTION_SIZE 60 33 #define MAX_FILENAME_SIZE 128 34 #define NON_KOSHA_FILE "ZZT_666_BUGGERED_666_ZZT" 35 #define NON_KOSHA_HASH 0xFFFFFFFF 37 #define CLUSTER_API_SCHEMA 2 38 #define CLUSTER_API_ID "CLU" 42 #define FOLDER_FILE_ID "ZZT" 45 uint32 EngineHashString(
const char *fn);
46 uint32 EngineHashFile(
const char *fn,
char *output);
47 uint32 EngineHashToFile(uint32 hash,
char *output);
50 #define HashString EngineHashString 51 #define HashFile EngineHashFile 73 char description[MAX_DESCRIPTION_SIZE];
92 #define FILE_NAME(a) (sizeof(uint) + sizeof(uint32) + sizeof(HEADER_OPEN) + (sizeof(HEADER_NORMAL) * (a))) 93 #define FILE_SIZE(a) (FILE_NAME(a) + sizeof(uint32)) 94 #define FILE_OFFSET(a) (FILE_SIZE(a) + sizeof(uint32)) 95 #define FILE_HASH(a) (FILE_OFFSET(a) + sizeof(uint32)) 99 #endif // #ifndef CLU_API_H Definition: px_clu_api.h:68
Definition: px_clu_api.h:83
Definition: px_clu_api.h:76