5#ifndef __I_FILE_ARCHIVE_H_INCLUDED__
6#define __I_FILE_ARCHIVE_H_INCLUDED__
Base class of most objects of the Irrlicht Engine.
Axis aligned bounding box in 3d dimensional space.
Class which is able to create an archive from a file.
virtual IFileArchive * createArchive(const path &filename, bool ignoreCase, bool ignorePaths) const =0
Creates an archive from the filename.
virtual IFileArchive * createArchive(io::IReadFile *file, bool ignoreCase, bool ignorePaths) const =0
Creates an archive from the file.
virtual bool isALoadableFileFormat(const path &filename) const =0
Check if the file might be loaded by this class.
virtual bool isALoadableFileFormat(io::IReadFile *file) const =0
Check if the file might be loaded by this class.
virtual bool isALoadableFileFormat(E_FILE_ARCHIVE_TYPE fileType) const =0
Check to see if the loader can create archives of this type.
The FileArchive manages archives and provides access to files inside them.
virtual IReadFile * createAndOpenFile(u32 index)=0
Opens a file based on its position in the file list.
virtual IReadFile * createAndOpenFile(const path &filename)=0
Opens a file based on its name.
virtual const IFileList * getFileList() const =0
Returns the complete file tree.
core::stringc Password
An optionally used password string.
virtual E_FILE_ARCHIVE_TYPE getType() const
get the archive type
Provides a list of files and folders.
Interface providing read acess to a file.
#define MAKE_IRR_ID(c0, c1, c2, c3)
ignore VC8 warning deprecated
EFileSystemType
FileSystemType: which Filesystem should be used for e.g. browsing.
E_FILE_ARCHIVE_TYPE
Contains the different types of archives.
@ EFAT_TAR
A Tape ARchive.
@ EFAT_FOLDER
A virtual directory.
@ EFAT_UNKNOWN
The type of this archive is unknown.
@ EFAT_WAD
A wad Archive, Quake2, Halflife.
@ EFAT_ZIP
A PKZIP archive.
@ EFAT_GZIP
A gzip archive.
@ EFAT_PAK
An ID Software PAK archive.
@ EFAT_NPK
A Nebula Device archive.
Everything in the Irrlicht Engine can be found in this namespace.
unsigned int u32
32 bit unsigned variable.