]> git.jsancho.org Git - c-irrlicht.git/blob - include/IFileArchive.h
IFileSystem and IFileArchive
[c-irrlicht.git] / include / IFileArchive.h
1 /* c-irrlicht --- C bindings for Irrlicht Engine
2
3    Copyright (C) 2019 Javier Sancho <jsf@jsancho.org>
4
5    This file is part of c-irrlicht.
6
7    c-irrlicht is free software; you can redistribute it and/or modify
8    it under the terms of the GNU Lesser General Public License as
9    published by the Free Software Foundation; either version 3 of the
10    License, or (at your option) any later version.
11
12    c-irrlicht is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16
17    You should have received a copy of the GNU Lesser General Public
18    License along with guile-irrlicht.  If not, see
19    <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef __C_I_FILE_ARCHIVE_H_INCLUDED__
23 #define __C_I_FILE_ARCHIVE_H_INCLUDED__
24
25 #include <irrlicht/irrTypes.h>
26
27 typedef enum
28   {
29    //! A PKZIP archive
30    EFAT_ZIP     = MAKE_IRR_ID('Z','I','P', 0),
31
32    //! A gzip archive
33    EFAT_GZIP    = MAKE_IRR_ID('g','z','i','p'),
34
35    //! A virtual directory
36    EFAT_FOLDER  = MAKE_IRR_ID('f','l','d','r'),
37
38    //! An ID Software PAK archive
39    EFAT_PAK     = MAKE_IRR_ID('P','A','K', 0),
40
41    //! A Nebula Device archive
42    EFAT_NPK     = MAKE_IRR_ID('N','P','K', 0),
43
44    //! A Tape ARchive
45    EFAT_TAR     = MAKE_IRR_ID('T','A','R', 0),
46
47    //! A wad Archive, Quake2, Halflife
48    EFAT_WAD     = MAKE_IRR_ID('W','A','D', 0),
49
50    //! The type of this archive is unknown
51    EFAT_UNKNOWN = MAKE_IRR_ID('u','n','k','n')
52   } irr_io_E_FILE_ARCHIVE_TYPE;
53
54 typedef void irr_io_IFileArchive;
55
56 #endif