1 #define _CRT_SECURE_NO_DEPRECATE
6 #define __STORMLIB_SELF__
16 typedef unsigned int uint32
;
22 MPQArchive(const char* filename
);
24 bool isOpen() const { return hMPQ
!= 0; }
27 typedef std::vector
<MPQArchive
> ArchiveSet
;
35 bool Open(std::vector
<std::string
> const& archiveNames
);
40 extern MPQArchiveSet gOpenArchives
;
52 //MPQFile(const MPQFile &f) {}
53 //void operator=(const MPQFile &f) {}
56 MPQFile(const char* filename
);
58 size_t read(void* dest
, size_t bytes
);
64 void seek(int offset
);
65 void seekRelative(int offset
);
69 inline void flipcc(char *fcc
)