From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / hacks / glx / atlantis.h
index 472fe528d800e38b21baffd13c8c353005317f15..3b24bfab32526b702a8dc01b0ff54f4a4f910447 100644 (file)
  *
  * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
  */
-#include <GL/gl.h>
-#include <GL/glx.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifdef STANDALONE
+# include <math.h>
+# include "screenhackI.h"
+# ifndef HAVE_JWXYZ
+#  include <GL/gl.h>
+#  include <GL/glx.h>
+# endif
+#else
+# include "xlock.h"
+#endif
+#ifdef HAVE_ANDROID
+#include <GLES/gl.h>
+#endif
+
+
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
 
 #define RAD 57.295
 #define RRAD 0.01745
@@ -84,6 +105,7 @@ typedef struct _fishRec {
        float       htail, vtail;
        float       dtheta;
        int         spurt, attack;
+        int         sign;
 } fishRec;
 
 typedef struct {