Stellarium 0.15.2
glues_error.h
1 /*
2  * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
3  * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice including the dates of first publication and
13  * either this permission notice or a reference to
14  * http://oss.sgi.com/projects/FreeB/
15  * shall be included in all copies or substantial portions of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20  * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
22  * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23  * SOFTWARE.
24  *
25  * Except as contained in this notice, the name of Silicon Graphics, Inc.
26  * shall not be used in advertising or otherwise to promote the sale, use or
27  * other dealings in this Software without prior written authorization from
28  * Silicon Graphics, Inc.
29  *
30  * OpenGL ES CM 1.0 port of part of GLUES by Mike Gorchak <mike@malva.ua>
31  *
32  * Important: Fabien Chereau - September 2009
33  * Most of the content was ripped out for the use of Stellarium
34  */
35 
36 #ifndef __GLUES_REGISTRY_H__
37 #define __GLUES_REGISTRY_H__
38 
39 #ifdef __cplusplus
40  extern "C" {
41 #endif
42 
43 /* ErrorCode */
44 #define GLUES_INVALID_ENUM 100900
45 #define GLUES_INVALID_VALUE 100901
46 #define GLUES_OUT_OF_MEMORY 100902
47 #define GLUES_INCOMPATIBLE_GL_VERSION 100903
48 #define GLUES_INVALID_OPERATION 100904
49 #define GLUES_STACK_OVERFLOW 0x0503
50 #define GLUES_STACK_UNDERFLOW 0x0504
51 /* TessError */
52 #define GLUES_TESS_ERROR1 100151
53 #define GLUES_TESS_ERROR2 100152
54 #define GLUES_TESS_ERROR3 100153
55 #define GLUES_TESS_ERROR4 100154
56 #define GLUES_TESS_ERROR5 100155
57 #define GLUES_TESS_ERROR6 100156
58 #define GLUES_TESS_ERROR7 100157
59 #define GLUES_TESS_ERROR8 100158
60 #define GLUES_TESS_MISSING_BEGIN_POLYGON 100151
61 #define GLUES_TESS_MISSING_BEGIN_CONTOUR 100152
62 #define GLUES_TESS_MISSING_END_POLYGON 100153
63 #define GLUES_TESS_MISSING_END_CONTOUR 100154
64 #define GLUES_TESS_COORD_TOO_LARGE 100155
65 #define GLUES_TESS_NEED_COMBINE_CALLBACK 100156
66 
67 /* NurbsError */
68 #define GLUES_NURBS_ERROR1 100251
69 #define GLUES_NURBS_ERROR2 100252
70 #define GLUES_NURBS_ERROR3 100253
71 #define GLUES_NURBS_ERROR4 100254
72 #define GLUES_NURBS_ERROR5 100255
73 #define GLUES_NURBS_ERROR6 100256
74 #define GLUES_NURBS_ERROR7 100257
75 #define GLUES_NURBS_ERROR8 100258
76 #define GLUES_NURBS_ERROR9 100259
77 #define GLUES_NURBS_ERROR10 100260
78 #define GLUES_NURBS_ERROR11 100261
79 #define GLUES_NURBS_ERROR12 100262
80 #define GLUES_NURBS_ERROR13 100263
81 #define GLUES_NURBS_ERROR14 100264
82 #define GLUES_NURBS_ERROR15 100265
83 #define GLUES_NURBS_ERROR16 100266
84 #define GLUES_NURBS_ERROR17 100267
85 #define GLUES_NURBS_ERROR18 100268
86 #define GLUES_NURBS_ERROR19 100269
87 #define GLUES_NURBS_ERROR20 100270
88 #define GLUES_NURBS_ERROR21 100271
89 #define GLUES_NURBS_ERROR22 100272
90 #define GLUES_NURBS_ERROR23 100273
91 #define GLUES_NURBS_ERROR24 100274
92 #define GLUES_NURBS_ERROR25 100275
93 #define GLUES_NURBS_ERROR26 100276
94 #define GLUES_NURBS_ERROR27 100277
95 #define GLUES_NURBS_ERROR28 100278
96 #define GLUES_NURBS_ERROR29 100279
97 #define GLUES_NURBS_ERROR30 100280
98 #define GLUES_NURBS_ERROR31 100281
99 #define GLUES_NURBS_ERROR32 100282
100 #define GLUES_NURBS_ERROR33 100283
101 #define GLUES_NURBS_ERROR34 100284
102 #define GLUES_NURBS_ERROR35 100285
103 #define GLUES_NURBS_ERROR36 100286
104 #define GLUES_NURBS_ERROR37 100287
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif /* __GLUES_REGISTRY_H__ */