projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver]
/
hacks
/
glx
/
atlantis.h
diff --git
a/hacks/glx/atlantis.h
b/hacks/glx/atlantis.h
index be07c963367a1e03ca53eb90682f6484c183d2f6..1aba83033e35cd2524f1ee7487f581e66876c5ac 100644
(file)
--- a/
hacks/glx/atlantis.h
+++ b/
hacks/glx/atlantis.h
@@
-25,7
+25,7
@@
* Thanks goes also to Brian Paul for making it possible and inexpensive
* to use OpenGL at home.
*
* Thanks goes also to Brian Paul for making it possible and inexpensive
* to use OpenGL at home.
*
- * My e-mail address is lassauge@
sagem.fr
+ * My e-mail address is lassauge@
users.sourceforge.net
*
* Eric Lassauge (May-13-1998)
*
*
* Eric Lassauge (May-13-1998)
*
@@
-67,8
+67,19
@@
*
* OpenGL(TM) is a trademark of Silicon Graphics, Inc.
*/
*
* OpenGL(TM) is a trademark of Silicon Graphics, Inc.
*/
-#include <GL/gl.h>
-#include <GL/glx.h>
+
+#ifdef STANDALONE
+# include <math.h>
+# include "screenhackI.h"
+# ifdef HAVE_COCOA
+# include <OpenGL/gl.h>
+# else
+# include <GL/gl.h>
+# include <GL/glx.h>
+# endif
+#else
+# include "xlock.h"
+#endif
#define RAD 57.295
#define RRAD 0.01745
#define RAD 57.295
#define RRAD 0.01745
@@
-84,6
+95,7
@@
typedef struct _fishRec {
float htail, vtail;
float dtheta;
int spurt, attack;
float htail, vtail;
float dtheta;
int spurt, attack;
+ int sign;
} fishRec;
typedef struct {
} fishRec;
typedef struct {