* 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)
*
*
* 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
float htail, vtail;
float dtheta;
int spurt, attack;
+ int sign;
} fishRec;
typedef struct {
fishRec momWhale;
fishRec babyWhale;
fishRec dolph;
+
+ XImage *texture; /* water distortion overlay bits */
} atlantisstruct;
extern void FishTransform(fishRec *);