~ubuntu-branches/debian/sid/xscreensaver/sid

« back to all changes in this revision

Viewing changes to hacks/glx/glschool_gl.h

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas, Tormod Volden, Jose Luis Rivas
  • Date: 2008-07-15 14:48:48 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080715144848-c6c6mhyxij0dk2p7
Tags: 5.05-3
[ Tormod Volden ]
* debian/patches/10_jwz-xscreensaver-randr-patch-3.patch:
  from upstream, addresses issues with xrandr/xinerama
  (Closes: #482385, #428797, #471920, #453708, #473681, #479715, #480231)
* fixed typo "screen < real_nscreens" in driver/lock:1527 from above patch
* drop 61_DualHead-nVidia_bug471920.patch (obsolete)
* drop 67_XineRama-mode_bug473681.patch (obsolete)
* fix m6502.o typo in hacks/Makefile.in
* refresh 53_XScreenSaver.ad.in.patch
* refresh (disabled) 60_add-ant-hack.patch

[ Jose Luis Rivas ]
* add xscreensaver-demo desktop file, thanks to Daniel Dickinson
  (Closes: #480592)
* update package descriptions (thanks jwz)
* fix categories in xscreensaver.menu
* change build-deps from xlibmesa-gl-dev to libgl1-mesa-dev,
  xutils to xutils-dev, x-dev to x11proto-core-dev.
* bump Standards-Version to 3.8.0
* add Vcs fields and Homepage to debian/control
* Flurry is not installed until the bug get fixed (Closes: #484112)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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__ */