22 #ifndef FIFE_MAP_LOADERS_FALLOUT_DAT1_H 23 #define FIFE_MAP_LOADERS_FALLOUT_DAT1_H 51 DAT1(
VFS* vfs,
const std::string& file);
53 bool fileExists(
const std::string& name)
const;
67 std::set<std::string>
listFiles(
const std::string& pathstr)
const;
68 std::set<std::string>
listDirectories(
const std::string& pathstr)
const;
76 std::set<std::string>
list(
const std::string& pathstr,
bool dirs)
const;
VFSource for the Fallout1 DAT file format.
std::set< std::string > list(const std::string &pathstr, bool dirs) const
RawData * open(const std::string &file) const
open a file inside this source
VFSSource abstract baseclass.
bool fileExists(const std::string &name) const
check if the given file exists
DAT1 & operator=(const DAT1 &)
std::map< std::string, RawDataDAT1::s_info > type_filelist
void loadFileList(const std::string &dirname)
const RawDataDAT1::s_info & getInfo(const std::string &name) const
Get the needed information to unpack and extract a file from the DAT file.
The needed information for the extraction.
std::unique_ptr< RawData > m_data
std::set< std::string > listFiles(const std::string &pathstr) const
list all files in a directory of this source
DAT1(VFS *vfs, const std::string &file)
Constructor Create a VFSSource for a Fallout1 DAT file.
the main VFS (virtual file system) class
std::set< std::string > listDirectories(const std::string &pathstr) const
list all directories in a directory of this source
Used to access diffrent kinds of data.