|
9 | 9 | /** This enables the engine to read and write encrypted BAW format files.
|
10 | 10 | If you comment this out, the engine will no longer read or write encrypted .baw files! */
|
11 | 11 | #define _NBL_COMPILE_WITH_OPENSSL_
|
12 |
| -#ifdef NO_NBL_COMPILE_WITH_OPENSSL_ |
13 |
| -#undef _NBL_COMPILE_WITH_OPENSSL_ |
14 |
| -#endif |
15 | 12 |
|
16 | 13 | //! Define _NBL_COMPILE_WITH_JPEGLIB_ to enable compiling the engine using libjpeg.
|
17 | 14 | /** This enables the engine to read jpeg images. If you comment this out,
|
18 | 15 | the engine will no longer read .jpeg images. */
|
19 | 16 | #define _NBL_COMPILE_WITH_LIBJPEG_
|
20 |
| -#ifdef NO_NBL_COMPILE_WITH_LIBJPEG_ |
21 |
| -#undef _NBL_COMPILE_WITH_LIBJPEG_ |
22 |
| -#endif |
23 | 17 |
|
24 | 18 | //! Define _NBL_COMPILE_WITH_LIBPNG_ to enable compiling the engine using libpng.
|
25 | 19 | /** This enables the engine to read png images. If you comment this out,
|
26 | 20 | the engine will no longer read .png images. */
|
27 | 21 | #define _NBL_COMPILE_WITH_LIBPNG_
|
28 |
| -#ifdef NO_NBL_COMPILE_WITH_LIBPNG_ |
29 |
| -#undef _NBL_COMPILE_WITH_LIBPNG_ |
30 |
| -#endif |
31 | 22 |
|
32 | 23 | //! Uncomment the following line if you want to ignore the deprecated warnings
|
33 | 24 | //#define IGNORE_DEPRECATED_WARNING
|
34 | 25 |
|
35 | 26 | //! Define __NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_ if you want to open ZIP and GZIP archives
|
36 | 27 | /** ZIP reading has several more options below to configure. */
|
37 | 28 | #define __NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_
|
38 |
| -#ifdef NO__NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_ |
39 |
| -#undef __NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_ |
40 |
| -#endif |
41 |
| -#ifdef __NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_ |
| 29 | + |
| 30 | +//#ifdef __NBL_COMPILE_WITH_ZIP_ARCHIVE_LOADER_ |
| 31 | + |
42 | 32 | //! Define _NBL_COMPILE_WITH_ZLIB_ to enable compiling the engine using zlib.
|
43 | 33 | /** This enables the engine to read from compressed .zip archives. If you
|
44 | 34 | disable this feature, the engine can still read archives, but only uncompressed
|
45 | 35 | ones. */
|
46 | 36 | #define _NBL_COMPILE_WITH_ZLIB_
|
47 |
| -#ifdef NO_NBL_COMPILE_WITH_ZLIB_ |
48 |
| -#undef _NBL_COMPILE_WITH_ZLIB_ |
49 |
| -#endif |
| 37 | + |
50 | 38 | //! Define _NBL_COMPILE_WITH_ZIP_ENCRYPTION_ if you want to read AES-encrypted ZIP archives
|
51 | 39 | #define _NBL_COMPILE_WITH_ZIP_ENCRYPTION_
|
52 |
| -#ifdef NO_NBL_COMPILE_WITH_ZIP_ENCRYPTION_ |
53 |
| -#undef _NBL_COMPILE_WITH_ZIP_ENCRYPTION_ |
54 |
| -#endif |
| 40 | + |
55 | 41 | //! Define _NBL_COMPILE_WITH_BZIP2_ if you want to support bzip2 compressed zip archives
|
56 | 42 | /** bzip2 is superior to the original zip file compression modes, but requires
|
57 | 43 | a certain amount of memory for decompression and adds several files to the
|
58 | 44 | library. */
|
59 | 45 | #define _NBL_COMPILE_WITH_BZIP2_
|
60 |
| -#ifdef NO_NBL_COMPILE_WITH_BZIP2_ |
61 |
| -#undef _NBL_COMPILE_WITH_BZIP2_ |
62 |
| -#endif |
| 46 | + |
63 | 47 | //! Define _NBL_COMPILE_WITH_LZMA_ if you want to use LZMA compressed zip files.
|
64 | 48 | /** LZMA is a very efficient compression code, known from 7zip. Irrlicht
|
65 | 49 | currently only supports zip archives, though. */
|
66 | 50 | //#define _NBL_COMPILE_WITH_LZMA_
|
67 |
| -#ifdef NO_NBL_COMPILE_WITH_LZMA_ |
68 |
| -#undef _NBL_COMPILE_WITH_LZMA_ |
69 |
| -#endif |
70 |
| -#endif |
| 51 | + |
| 52 | +//#endif |
71 | 53 |
|
72 | 54 | //! Define __NBL_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_ if you want to mount folders as archives
|
73 | 55 | #define __NBL_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_
|
74 |
| -#ifdef NO__NBL_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_ |
75 |
| -#undef __NBL_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_ |
76 |
| -#endif |
| 56 | + |
77 | 57 | //! Define __NBL_COMPILE_WITH_PAK_ARCHIVE_LOADER_ if you want to open ID software PAK archives
|
78 | 58 | #define __NBL_COMPILE_WITH_PAK_ARCHIVE_LOADER_
|
79 |
| -#ifdef NO__NBL_COMPILE_WITH_PAK_ARCHIVE_LOADER_ |
80 |
| -#undef __NBL_COMPILE_WITH_PAK_ARCHIVE_LOADER_ |
81 |
| -#endif |
| 59 | + |
82 | 60 | //! Define __NBL_COMPILE_WITH_TAR_ARCHIVE_LOADER_ if you want to open TAR archives
|
83 | 61 | #define __NBL_COMPILE_WITH_TAR_ARCHIVE_LOADER_
|
84 |
| -#ifdef NO__NBL_COMPILE_WITH_TAR_ARCHIVE_LOADER_ |
85 |
| -#undef __NBL_COMPILE_WITH_TAR_ARCHIVE_LOADER_ |
86 |
| -#endif |
87 | 62 |
|
88 | 63 | #define _NBL_FORMAT_VERSION 3
|
89 | 64 |
|
|
0 commit comments