Description | Hierarchy | Fields | Methods | Properties |
type TArchiveLoader = class(TReferenceCounted)
Class which is able to create an archive from a file.
If you want the Irrlicht Engine be able to load archives of currently unsupported file formats (e.g .wad), then derive a class from TCustomArchiveLoader and add your new Archive loader with TFileSystem.AddArchiveLoader to the engine.
![]() |
function CreateArchive(FileName: StringType; IgnoreCase, IgnorePaths: Boolean) : TFileArchive; overload; inline; |
![]() |
function CreateArchive(ReadFile: TReadFile; IgnoreCase, IgnorePaths: Boolean) : TFileArchive; overload; inline; |
![]() |
function IsALoadableFileFormat(FileName: StringType): Boolean; overload; inline; |
![]() |
function IsALoadableFileFormat(ReadFile: TReadFile): Boolean; overload; inline; |
![]() |
function IsALoadableFileFormat(FileType: TFileArchiveType): Boolean; overload; inline; |
![]() |
function CreateArchive(FileName: StringType; IgnoreCase, IgnorePaths: Boolean) : TFileArchive; overload; inline; |
Creates an archive from a file name. Parameters
ReturnsPointer to newly created archive, or nil upon error. |
![]() |
function CreateArchive(ReadFile: TReadFile; IgnoreCase, IgnorePaths: Boolean) : TFileArchive; overload; inline; |
Creates an archive from a read file. Parameters
ReturnsPointer to newly created archive, or nil upon error. |
![]() |
function IsALoadableFileFormat(FileName: StringType): Boolean; overload; inline; |
Checks if the file might be loadable based on it's extension. |
![]() |
function IsALoadableFileFormat(ReadFile: TReadFile): Boolean; overload; inline; |
Checks if the file content might be loaded by this class. |
![]() |
function IsALoadableFileFormat(FileType: TFileArchiveType): Boolean; overload; inline; |
Returns whether a given archive type is loadable by this loader. |