1 /* glschool_gl.h, Copyright (c) 2005-2006 David C. Lambert <dcl@panix.com>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
11 #ifndef __GLSCHOOL_GL_H__
12 #define __GLSCHOOL_GL_H__
16 #endif /* HAVE_CONFIG_H */
21 # include <OpenGL/glu.h>
24 # include <X11/Xlib.h>
31 #endif /* HAVE_JWZGLES */
33 #include "glschool_alg.h"
35 extern void glschool_initFog(void);
36 extern void glschool_initGLEnv(Bool);
37 extern void glschool_initLights(void);
38 extern void glschool_reshape(int, int);
39 extern void glschool_drawGoal(double *, GLuint);
40 extern void glschool_getColorVect(XColor *, int, double *);
41 extern int glschool_drawBoundingBox(BBox *, Bool);
42 extern int glschool_createBBoxList(BBox *, GLuint *, int);
43 extern void glschool_createDrawLists(BBox *, GLuint *, GLuint *, GLuint *, int *, int *, Bool);
44 extern void glschool_drawSchool(XColor *, School *, GLuint, GLuint, GLuint, int, Bool, Bool,
45 int, int, unsigned long *);
47 #endif /* __GLSCHOOL_GL_H__ */