aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h268
1 files changed, 134 insertions, 134 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h
index fb72a51..e19c475 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/cderror.h
@@ -1,134 +1,134 @@
1/* 1/*
2 * cderror.h 2 * cderror.h
3 * 3 *
4 * Copyright (C) 1994-1997, Thomas G. Lane. 4 * Copyright (C) 1994-1997, Thomas G. Lane.
5 * Modified 2009 by Guido Vollbeding. 5 * Modified 2009 by Guido Vollbeding.
6 * This file is part of the Independent JPEG Group's software. 6 * This file is part of the Independent JPEG Group's software.
7 * For conditions of distribution and use, see the accompanying README file. 7 * For conditions of distribution and use, see the accompanying README file.
8 * 8 *
9 * This file defines the error and message codes for the cjpeg/djpeg 9 * This file defines the error and message codes for the cjpeg/djpeg
10 * applications. These strings are not needed as part of the JPEG library 10 * applications. These strings are not needed as part of the JPEG library
11 * proper. 11 * proper.
12 * Edit this file to add new codes, or to translate the message strings to 12 * Edit this file to add new codes, or to translate the message strings to
13 * some other language. 13 * some other language.
14 */ 14 */
15 15
16/* 16/*
17 * To define the enum list of message codes, include this file without 17 * To define the enum list of message codes, include this file without
18 * defining macro JMESSAGE. To create a message string table, include it 18 * defining macro JMESSAGE. To create a message string table, include it
19 * again with a suitable JMESSAGE definition (see jerror.c for an example). 19 * again with a suitable JMESSAGE definition (see jerror.c for an example).
20 */ 20 */
21#ifndef JMESSAGE 21#ifndef JMESSAGE
22#ifndef CDERROR_H 22#ifndef CDERROR_H
23#define CDERROR_H 23#define CDERROR_H
24/* First time through, define the enum list */ 24/* First time through, define the enum list */
25#define JMAKE_ENUM_LIST 25#define JMAKE_ENUM_LIST
26#else 26#else
27/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */ 27/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */
28#define JMESSAGE(code,string) 28#define JMESSAGE(code,string)
29#endif /* CDERROR_H */ 29#endif /* CDERROR_H */
30#endif /* JMESSAGE */ 30#endif /* JMESSAGE */
31 31
32#ifdef JMAKE_ENUM_LIST 32#ifdef JMAKE_ENUM_LIST
33 33
34typedef enum { 34typedef enum {
35 35
36#define JMESSAGE(code,string) code , 36#define JMESSAGE(code,string) code ,
37 37
38#endif /* JMAKE_ENUM_LIST */ 38#endif /* JMAKE_ENUM_LIST */
39 39
40JMESSAGE(JMSG_FIRSTADDONCODE=1000, NULL) /* Must be first entry! */ 40JMESSAGE(JMSG_FIRSTADDONCODE=1000, NULL) /* Must be first entry! */
41 41
42#ifdef BMP_SUPPORTED 42#ifdef BMP_SUPPORTED
43JMESSAGE(JERR_BMP_BADCMAP, "Unsupported BMP colormap format") 43JMESSAGE(JERR_BMP_BADCMAP, "Unsupported BMP colormap format")
44JMESSAGE(JERR_BMP_BADDEPTH, "Only 8- and 24-bit BMP files are supported") 44JMESSAGE(JERR_BMP_BADDEPTH, "Only 8- and 24-bit BMP files are supported")
45JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length") 45JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length")
46JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1") 46JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1")
47JMESSAGE(JERR_BMP_COLORSPACE, "BMP output must be grayscale or RGB") 47JMESSAGE(JERR_BMP_COLORSPACE, "BMP output must be grayscale or RGB")
48JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported") 48JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported")
49JMESSAGE(JERR_BMP_EMPTY, "Empty BMP image") 49JMESSAGE(JERR_BMP_EMPTY, "Empty BMP image")
50JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM") 50JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM")
51JMESSAGE(JTRC_BMP, "%ux%u 24-bit BMP image") 51JMESSAGE(JTRC_BMP, "%ux%u 24-bit BMP image")
52JMESSAGE(JTRC_BMP_MAPPED, "%ux%u 8-bit colormapped BMP image") 52JMESSAGE(JTRC_BMP_MAPPED, "%ux%u 8-bit colormapped BMP image")
53JMESSAGE(JTRC_BMP_OS2, "%ux%u 24-bit OS2 BMP image") 53JMESSAGE(JTRC_BMP_OS2, "%ux%u 24-bit OS2 BMP image")
54JMESSAGE(JTRC_BMP_OS2_MAPPED, "%ux%u 8-bit colormapped OS2 BMP image") 54JMESSAGE(JTRC_BMP_OS2_MAPPED, "%ux%u 8-bit colormapped OS2 BMP image")
55#endif /* BMP_SUPPORTED */ 55#endif /* BMP_SUPPORTED */
56 56
57#ifdef GIF_SUPPORTED 57#ifdef GIF_SUPPORTED
58JMESSAGE(JERR_GIF_BUG, "GIF output got confused") 58JMESSAGE(JERR_GIF_BUG, "GIF output got confused")
59JMESSAGE(JERR_GIF_CODESIZE, "Bogus GIF codesize %d") 59JMESSAGE(JERR_GIF_CODESIZE, "Bogus GIF codesize %d")
60JMESSAGE(JERR_GIF_COLORSPACE, "GIF output must be grayscale or RGB") 60JMESSAGE(JERR_GIF_COLORSPACE, "GIF output must be grayscale or RGB")
61JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file") 61JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file")
62JMESSAGE(JERR_GIF_NOT, "Not a GIF file") 62JMESSAGE(JERR_GIF_NOT, "Not a GIF file")
63JMESSAGE(JTRC_GIF, "%ux%ux%d GIF image") 63JMESSAGE(JTRC_GIF, "%ux%ux%d GIF image")
64JMESSAGE(JTRC_GIF_BADVERSION, 64JMESSAGE(JTRC_GIF_BADVERSION,
65 "Warning: unexpected GIF version number '%c%c%c'") 65 "Warning: unexpected GIF version number '%c%c%c'")
66JMESSAGE(JTRC_GIF_EXTENSION, "Ignoring GIF extension block of type 0x%02x") 66JMESSAGE(JTRC_GIF_EXTENSION, "Ignoring GIF extension block of type 0x%02x")
67JMESSAGE(JTRC_GIF_NONSQUARE, "Caution: nonsquare pixels in input") 67JMESSAGE(JTRC_GIF_NONSQUARE, "Caution: nonsquare pixels in input")
68JMESSAGE(JWRN_GIF_BADDATA, "Corrupt data in GIF file") 68JMESSAGE(JWRN_GIF_BADDATA, "Corrupt data in GIF file")
69JMESSAGE(JWRN_GIF_CHAR, "Bogus char 0x%02x in GIF file, ignoring") 69JMESSAGE(JWRN_GIF_CHAR, "Bogus char 0x%02x in GIF file, ignoring")
70JMESSAGE(JWRN_GIF_ENDCODE, "Premature end of GIF image") 70JMESSAGE(JWRN_GIF_ENDCODE, "Premature end of GIF image")
71JMESSAGE(JWRN_GIF_NOMOREDATA, "Ran out of GIF bits") 71JMESSAGE(JWRN_GIF_NOMOREDATA, "Ran out of GIF bits")
72#endif /* GIF_SUPPORTED */ 72#endif /* GIF_SUPPORTED */
73 73
74#ifdef PPM_SUPPORTED 74#ifdef PPM_SUPPORTED
75JMESSAGE(JERR_PPM_COLORSPACE, "PPM output must be grayscale or RGB") 75JMESSAGE(JERR_PPM_COLORSPACE, "PPM output must be grayscale or RGB")
76JMESSAGE(JERR_PPM_NONNUMERIC, "Nonnumeric data in PPM file") 76JMESSAGE(JERR_PPM_NONNUMERIC, "Nonnumeric data in PPM file")
77JMESSAGE(JERR_PPM_NOT, "Not a PPM/PGM file") 77JMESSAGE(JERR_PPM_NOT, "Not a PPM/PGM file")
78JMESSAGE(JTRC_PGM, "%ux%u PGM image") 78JMESSAGE(JTRC_PGM, "%ux%u PGM image")
79JMESSAGE(JTRC_PGM_TEXT, "%ux%u text PGM image") 79JMESSAGE(JTRC_PGM_TEXT, "%ux%u text PGM image")
80JMESSAGE(JTRC_PPM, "%ux%u PPM image") 80JMESSAGE(JTRC_PPM, "%ux%u PPM image")
81JMESSAGE(JTRC_PPM_TEXT, "%ux%u text PPM image") 81JMESSAGE(JTRC_PPM_TEXT, "%ux%u text PPM image")
82#endif /* PPM_SUPPORTED */ 82#endif /* PPM_SUPPORTED */
83 83
84#ifdef RLE_SUPPORTED 84#ifdef RLE_SUPPORTED
85JMESSAGE(JERR_RLE_BADERROR, "Bogus error code from RLE library") 85JMESSAGE(JERR_RLE_BADERROR, "Bogus error code from RLE library")
86JMESSAGE(JERR_RLE_COLORSPACE, "RLE output must be grayscale or RGB") 86JMESSAGE(JERR_RLE_COLORSPACE, "RLE output must be grayscale or RGB")
87JMESSAGE(JERR_RLE_DIMENSIONS, "Image dimensions (%ux%u) too large for RLE") 87JMESSAGE(JERR_RLE_DIMENSIONS, "Image dimensions (%ux%u) too large for RLE")
88JMESSAGE(JERR_RLE_EMPTY, "Empty RLE file") 88JMESSAGE(JERR_RLE_EMPTY, "Empty RLE file")
89JMESSAGE(JERR_RLE_EOF, "Premature EOF in RLE header") 89JMESSAGE(JERR_RLE_EOF, "Premature EOF in RLE header")
90JMESSAGE(JERR_RLE_MEM, "Insufficient memory for RLE header") 90JMESSAGE(JERR_RLE_MEM, "Insufficient memory for RLE header")
91JMESSAGE(JERR_RLE_NOT, "Not an RLE file") 91JMESSAGE(JERR_RLE_NOT, "Not an RLE file")
92JMESSAGE(JERR_RLE_TOOMANYCHANNELS, "Cannot handle %d output channels for RLE") 92JMESSAGE(JERR_RLE_TOOMANYCHANNELS, "Cannot handle %d output channels for RLE")
93JMESSAGE(JERR_RLE_UNSUPPORTED, "Cannot handle this RLE setup") 93JMESSAGE(JERR_RLE_UNSUPPORTED, "Cannot handle this RLE setup")
94JMESSAGE(JTRC_RLE, "%ux%u full-color RLE file") 94JMESSAGE(JTRC_RLE, "%ux%u full-color RLE file")
95JMESSAGE(JTRC_RLE_FULLMAP, "%ux%u full-color RLE file with map of length %d") 95JMESSAGE(JTRC_RLE_FULLMAP, "%ux%u full-color RLE file with map of length %d")
96JMESSAGE(JTRC_RLE_GRAY, "%ux%u grayscale RLE file") 96JMESSAGE(JTRC_RLE_GRAY, "%ux%u grayscale RLE file")
97JMESSAGE(JTRC_RLE_MAPGRAY, "%ux%u grayscale RLE file with map of length %d") 97JMESSAGE(JTRC_RLE_MAPGRAY, "%ux%u grayscale RLE file with map of length %d")
98JMESSAGE(JTRC_RLE_MAPPED, "%ux%u colormapped RLE file with map of length %d") 98JMESSAGE(JTRC_RLE_MAPPED, "%ux%u colormapped RLE file with map of length %d")
99#endif /* RLE_SUPPORTED */ 99#endif /* RLE_SUPPORTED */
100 100
101#ifdef TARGA_SUPPORTED 101#ifdef TARGA_SUPPORTED
102JMESSAGE(JERR_TGA_BADCMAP, "Unsupported Targa colormap format") 102JMESSAGE(JERR_TGA_BADCMAP, "Unsupported Targa colormap format")
103JMESSAGE(JERR_TGA_BADPARMS, "Invalid or unsupported Targa file") 103JMESSAGE(JERR_TGA_BADPARMS, "Invalid or unsupported Targa file")
104JMESSAGE(JERR_TGA_COLORSPACE, "Targa output must be grayscale or RGB") 104JMESSAGE(JERR_TGA_COLORSPACE, "Targa output must be grayscale or RGB")
105JMESSAGE(JTRC_TGA, "%ux%u RGB Targa image") 105JMESSAGE(JTRC_TGA, "%ux%u RGB Targa image")
106JMESSAGE(JTRC_TGA_GRAY, "%ux%u grayscale Targa image") 106JMESSAGE(JTRC_TGA_GRAY, "%ux%u grayscale Targa image")
107JMESSAGE(JTRC_TGA_MAPPED, "%ux%u colormapped Targa image") 107JMESSAGE(JTRC_TGA_MAPPED, "%ux%u colormapped Targa image")
108#else 108#else
109JMESSAGE(JERR_TGA_NOTCOMP, "Targa support was not compiled") 109JMESSAGE(JERR_TGA_NOTCOMP, "Targa support was not compiled")
110#endif /* TARGA_SUPPORTED */ 110#endif /* TARGA_SUPPORTED */
111 111
112JMESSAGE(JERR_BAD_CMAP_FILE, 112JMESSAGE(JERR_BAD_CMAP_FILE,
113 "Color map file is invalid or of unsupported format") 113 "Color map file is invalid or of unsupported format")
114JMESSAGE(JERR_TOO_MANY_COLORS, 114JMESSAGE(JERR_TOO_MANY_COLORS,
115 "Output file format cannot handle %d colormap entries") 115 "Output file format cannot handle %d colormap entries")
116JMESSAGE(JERR_UNGETC_FAILED, "ungetc failed") 116JMESSAGE(JERR_UNGETC_FAILED, "ungetc failed")
117#ifdef TARGA_SUPPORTED 117#ifdef TARGA_SUPPORTED
118JMESSAGE(JERR_UNKNOWN_FORMAT, 118JMESSAGE(JERR_UNKNOWN_FORMAT,
119 "Unrecognized input file format --- perhaps you need -targa") 119 "Unrecognized input file format --- perhaps you need -targa")
120#else 120#else
121JMESSAGE(JERR_UNKNOWN_FORMAT, "Unrecognized input file format") 121JMESSAGE(JERR_UNKNOWN_FORMAT, "Unrecognized input file format")
122#endif 122#endif
123JMESSAGE(JERR_UNSUPPORTED_FORMAT, "Unsupported output file format") 123JMESSAGE(JERR_UNSUPPORTED_FORMAT, "Unsupported output file format")
124 124
125#ifdef JMAKE_ENUM_LIST 125#ifdef JMAKE_ENUM_LIST
126 126
127 JMSG_LASTADDONCODE 127 JMSG_LASTADDONCODE
128} ADDON_MESSAGE_CODE; 128} ADDON_MESSAGE_CODE;
129 129
130#undef JMAKE_ENUM_LIST 130#undef JMAKE_ENUM_LIST
131#endif /* JMAKE_ENUM_LIST */ 131#endif /* JMAKE_ENUM_LIST */
132 132
133/* Zap JMESSAGE macro so that future re-inclusions do nothing by default */ 133/* Zap JMESSAGE macro so that future re-inclusions do nothing by default */
134#undef JMESSAGE 134#undef JMESSAGE