140 char szOneLine[0x200];
148 if(pRootHandler ==
NULL)
179 if(pTextFile !=
NULL)
TRootHandler * pRootHandler
Definition: CascCommon.h:223
Definition: CascCommon.h:96
#define CASC_ALLOC(type, count)
Definition: CascCommon.h:302
unsigned long long ULONGLONG
Definition: CascPort.h:144
PCASC_MAP Map_Create(DWORD dwMaxItems, DWORD dwKeyLength, DWORD dwKeyOffset)
Definition: Map.cpp:93
LPBYTE(* ROOT_SEARCH)(struct TRootHandler *pRootHandler, struct _TCascSearch *pSearch, PDWORD PtrFileSize, PDWORD PtrLocaleFlags)
Definition: RootHandler.h:36
#define Array_Create(pArray, type, ItemCountMax)
Definition: DynamicArray.h:35
DWORD dwRootFlags
Definition: RootHandler.h:75
#define ERROR_NOT_ENOUGH_MEMORY
Definition: CascPort.h:208
ROOT_GETKEY GetKey
Definition: RootHandler.h:71
ROOT_INSERT Insert
Definition: RootHandler.h:68
void ListFile_Free(void *pvListFile)
Definition: ListFile.cpp:201
void(* ROOT_ENDSEARCH)(struct TRootHandler *pRootHandler, struct _TCascSearch *pSearch)
Definition: RootHandler.h:43
Definition: CascLib.h:138
#define MAX_PATH
Definition: CascPort.h:160
#define ROOT_FLAG_HAS_NAMES
Definition: RootHandler.h:21
Definition: CascRootFile_Diablo3.cpp:130
arena_t NULL
Definition: jemalloc_internal.h:624
static int OvrHandler_Insert(TRootHandler_Ovr *pRootHandler, const char *szFileName, LPBYTE pbEncodingKey)
Definition: CascRootFile_Ovr.cpp:72
LPBYTE(* ROOT_GETKEY)(struct TRootHandler *pRootHandler, const char *szFileName)
Definition: RootHandler.h:48
int ParseRootFileLine(const char *szLinePtr, const char *szLineEnd, int nFileNameIndex, PQUERY_KEY pEncodingKey, char *szFileName, size_t nMaxChars)
Definition: CascFiles.cpp:982
static LPBYTE OvrHandler_GetKey(TRootHandler_Ovr *pRootHandler, const char *szFileName)
Definition: CascRootFile_Ovr.cpp:105
size_t TableSize
Definition: Map.h:21
#define MD5_HASH_SIZE
Definition: CascLib.h:105
#define _maxchars(buff)
Definition: CascCommon.h:80
size_t ListFile_GetNextLine(void *pvListFile, const char **pszLineBegin, const char **pszLineEnd)
Definition: ListFile.cpp:111
PCASC_MAP pRootMap
Definition: CascRootFile_Ovr.cpp:34
DYNAMIC_ARRAY FileNames
Definition: CascRootFile_Ovr.cpp:31
ROOT_SEARCH Search
Definition: RootHandler.h:69
#define FIELD_OFFSET(t, f)
Definition: CascPort.h:122
PCASC_MAP pEncodingMap
Definition: CascCommon.h:220
static void OvrHandler_Close(TRootHandler_Ovr *pRootHandler)
Definition: CascRootFile_Ovr.cpp:112
static LPBYTE OvrHandler_Search(TRootHandler_Ovr *pRootHandler, TCascSearch *pSearch, PDWORD, PDWORD)
Definition: CascRootFile_Ovr.cpp:80
ROOT_ENDSEARCH EndSearch
Definition: RootHandler.h:70
void * ListFile_FromBuffer(LPBYTE pbBuffer, DWORD cbBuffer)
Definition: ListFile.cpp:86
unsigned int DWORD
Definition: CascPort.h:139
static void OvrHandler_EndSearch(TRootHandler_Ovr *, TCascSearch *)
Definition: CascRootFile_Ovr.cpp:100
int(* ROOT_INSERT)(struct TRootHandler *pRootHandler, const char *szFileName, LPBYTE pbEncodingKey)
Definition: RootHandler.h:30
BYTE Value[MD5_HASH_SIZE]
Definition: CascCommon.h:98
Definition: CascRootFile_Ovr.cpp:25
void(* ROOT_CLOSE)(struct TRootHandler *pRootHandler)
Definition: RootHandler.h:62
DYNAMIC_ARRAY FileTable
Definition: CascRootFile_Ovr.cpp:28
int GetRootVariableIndex(const char *szLinePtr, const char *szLineEnd, const char *szVariableName, int *PtrIndex)
Definition: CascFiles.cpp:953
ROOT_CLOSE Close
Definition: RootHandler.h:73
static int InsertFileEntry(TRootHandler_Ovr *pRootHandler, const char *szFileName, LPBYTE pbEncodingKey)
Definition: CascRootFile_Ovr.cpp:40
#define ERROR_SUCCESS
Definition: CascPort.h:204