#ifdef STANDALONE /* xscreensaver mode */
#define DEFAULTS "*delay: 10000 \n" \
"*showFPS: False \n" \
+ "*suppressRotationAnimation: True\n" \
# define refresh_atunnel 0
# define atunnel_handle_event 0
GLfloat light_position[] = {0.0, 0.0, 1.0, 0.0};
GLfloat fogColor[4] = {0.8, 0.8, 0.8, 1.0};
- glClearColor(0, 0, 0, 0);
if (do_texture)
{
glGenTextures(MAX_TEXTURE, sa->texture);
LoadTexture(mi, texture5,5);
glEnable(GL_TEXTURE_2D);
}
- sa->ts = InitTunnel();
+ sa->ts = atunnel_InitTunnel();
/* Set lighting parameters */
if (do_light)
glEnable(GL_LIGHTING);
}
+
+# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */
+ do_wire = 0;
+# endif
+
if (do_wire) {
glDisable(GL_NORMALIZE);
glDisable(GL_CULL_FACE);
glLoadIdentity();
- DrawTunnel(sa->ts, do_texture, do_light, sa->texture);
- SplashScreen(sa->ts, do_wire, do_texture, do_light);
+ atunnel_DrawTunnel(sa->ts, do_texture, do_light, sa->texture);
+ atunnel_SplashScreen(sa->ts, do_wire, do_texture, do_light);
glFlush();
/* manage framerate display */