mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
3982573035
* Implement hash based lookup for TES3 BSA files. * Added TES4/TES5 BSA support. * Implemented a hack (non-portable code) in an attempt to reduce startup time under Windows because Boost::filesystem seems to take forever on GetFileAttributeW. This implementation uses FindFirstFile/FindNextFile/FindClose instead.
16 lines
407 B
C++
16 lines
407 B
C++
#ifndef BSA_BSA_RESOURCES_H
|
|
#define BSA_BSA_RESOURCES_H
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include "../files/collections.hpp"
|
|
|
|
namespace Bsa
|
|
{
|
|
void registerResources (const Files::Collections& collections,
|
|
const std::vector<std::string>& archives, bool useLooseFiles, bool fsStrict, bool isTes4=false);
|
|
///< Register resources directories and archives as OGRE resources groups
|
|
}
|
|
|
|
#endif
|