mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
ec939a5bce
commit
f4be15a7af
1895 changed files with 160408 additions and 53601 deletions
|
|
@ -1,6 +1,13 @@
|
|||
#ifndef LOAD_LIB_H
|
||||
#define LOAD_LIB_H
|
||||
|
||||
#ifdef _DLL
|
||||
#undef _DLL
|
||||
#endif
|
||||
|
||||
#include "StormLib.h"
|
||||
#include <deque>
|
||||
|
||||
#ifdef WIN32
|
||||
typedef __int64 int64;
|
||||
typedef __int32 int32;
|
||||
|
|
@ -27,6 +34,15 @@ typedef uint16_t uint16;
|
|||
typedef uint8_t uint8;
|
||||
#endif
|
||||
|
||||
typedef std::deque<HANDLE> ArchiveSet;
|
||||
typedef std::pair<ArchiveSet::const_iterator,ArchiveSet::const_iterator> ArchiveSetBounds;
|
||||
|
||||
bool OpenArchive(char const* mpqFileName, HANDLE* mpqHandlePtr = NULL);
|
||||
bool OpenNewestFile(char const* filename, HANDLE* fileHandlerPtr);
|
||||
ArchiveSetBounds GetArchivesBounds();
|
||||
bool ExtractFile( char const* mpq_name, std::string const& filename );
|
||||
void CloseArchives();
|
||||
|
||||
#define FILE_FORMAT_VERSION 18
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue