X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftunnel_draw.h;h=3ada23a6569e9eb8164787a678b0e3dff2428770;hp=8f0aee4c3ffb9c3d1245ca3cfe8ca4193741c74a;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hpb=ccb7f4903325f92555a9722bba74b58346654ba0 diff --git a/hacks/glx/tunnel_draw.h b/hacks/glx/tunnel_draw.h index 8f0aee4c..3ada23a6 100644 --- a/hacks/glx/tunnel_draw.h +++ b/hacks/glx/tunnel_draw.h @@ -1,4 +1,11 @@ #define MAX_TEXTURE 10 -extern void DrawTunnel(int do_texture, int do_light, GLuint *textures); -extern void SplashScreen(int do_wire, int do_texture, int do_light); -extern void InitTunnel(void); + +struct tunnel_state; + +extern struct tunnel_state * InitTunnel(void); +extern void DrawTunnel(struct tunnel_state *, + int do_texture, int do_light, GLuint *textures); +extern void SplashScreen(struct tunnel_state *, + int do_wire, int do_texture, int do_light); +extern void FreeTunnel(struct tunnel_state *); +