http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver] / hacks / glx / glschool_gl.h
1 /* glschool_gl.h, Copyright (c) 2005-2006 David C. Lambert <dcl@panix.com>
2  *
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 
9  * implied warranty.
10  */
11 #ifndef __GLSCHOOL_GL_H__
12 #define __GLSCHOOL_GL_H__
13
14 #ifdef HAVE_COCOA
15 # include "jwxyz.h"
16 # include <OpenGL/gl.h>
17 # include <OpenGL/glu.h>
18 #else
19 # include <X11/Xlib.h>
20 # include <GL/gl.h>
21 # include <GL/glu.h>
22 #endif
23
24 #include "glschool_alg.h"
25
26 extern void initFog(void);
27 extern void initGLEnv(Bool);
28 extern void initLights(void);
29 extern void reshape(int, int);
30 extern void drawGoal(double *, GLuint);
31 extern void getColorVect(XColor *, int, double *);
32 extern void drawBoundingBox(BBox *, Bool);
33 extern void createBBoxList(BBox *, GLuint *, int);
34 extern void createDrawLists(BBox *, GLuint *, GLuint *, GLuint *, Bool);
35 extern void drawSchool(XColor *, School *, GLuint, GLuint, GLuint, int, Bool, Bool);
36
37 #endif /* __GLSCHOOL_GL_H__ */