23 #ifdef PLATFORM_WINDOWS
24 #undef PLATFORM_WINDOWS
34 #define FILE_FORMAT_VERSION 18
96 std::multimap<std::string, FileChunk*>
chunks;
u_map_fcc fcc
Definition: loadlib.h:59
void * HANDLE
Definition: CascPort.h:146
uint32 size
Definition: loadlib.h:53
void free()
Definition: loadlib.cpp:79
FileChunk * GetSubChunk(std::string const &name)
Definition: loadlib.cpp:184
char FileList[1]
Definition: loadlib.h:61
TC_SHARED_API::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,::google::protobuf::internal::EnumTypeTraits< ::bgs::protocol::LogOption,::bgs::protocol::LogOption_IsValid >, 14, false > log
FileChunk * GetChunk(std::string const &name)
Definition: loadlib.cpp:140
std::multimap< std::string, FileChunk * > chunks
Definition: loadlib.h:96
uint32 GetDataSize()
Definition: loadlib.h:87
void parseChunks()
Definition: loadlib.cpp:112
virtual ~ChunkedFile()
Definition: loadlib.cpp:31
uint32 ver
Definition: loadlib.h:54
T * As()
Definition: loadlib.h:74
void parseSubChunks()
Definition: loadlib.cpp:157
ChunkedFile()
Definition: loadlib.cpp:25
uint32 fcc
Definition: loadlib.h:41
bool prepareLoadedData()
Definition: loadlib.cpp:64
uint8 * data
Definition: loadlib.h:83
uint32 size
Definition: loadlib.h:60
uint32_t uint32
Definition: Define.h:150
uint32 data_size
Definition: loadlib.h:84
uint8 * data
Definition: loadlib.h:70
uint32 fcc
Definition: loadlib.h:50
~FileChunk()
Definition: loadlib.cpp:149
std::multimap< std::string, FileChunk * > subchunks
Definition: loadlib.h:76
int GetLastError()
Definition: Common.cpp:70
uint32 size
Definition: loadlib.h:71
uint8_t uint8
Definition: Define.h:152
FileChunk(uint8 *data_, uint32 size_)
Definition: loadlib.h:67
char fcc_txt[4]
Definition: loadlib.h:40
uint8 * GetData()
Definition: loadlib.h:86
bool loadFile(HANDLE mpq, std::string const &fileName, bool log=true)
Definition: loadlib.cpp:36
char fcc_txt[4]
Definition: loadlib.h:51