From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver] / hacks / glx / stonerview.h
index 7a428dc8f274f606f019ef7c8f4561784590154f..afbd53c51e8ff1422fd6df9cfb94093d30d9d630 100644 (file)
 #ifndef __STONERVIEW_H__
 # define __STONERVIEW_H__
 
-#ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-#else
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifndef HAVE_COCOA
 # include <GL/gl.h>
 #endif
 
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
 typedef struct stonerview_state stonerview_state;
 
 #include "stonerview-osc.h"
@@ -27,11 +33,12 @@ typedef struct stonerview_state stonerview_state;
 struct stonerview_state {
 
   int wireframe;
+  int transparent;
 
   /* The list of polygons. This is filled in by move_increment(), and rendered
      by perform_render(). */
   int num_els;
-  elem_t *elist;
+  stonerview_elem_t *elist;
 
   /* A linked list of all osc_t objects created. New objects are added
      to the end of the list, not the beginning. */