began for maemo
[xscreensaver] / xscreensaver / hacks / glx / stonerview-move.h
1 /* StonerView: An eccentric visual toy.
2    Copyright 1998-2001 by Andrew Plotkin (erkyrath@eblong.com)
3
4    Permission to use, copy, modify, distribute, and sell this software and its
5    documentation for any purpose is hereby granted without fee, provided that
6    the above copyright notice appear in all copies and that both that
7    copyright notice and this permission notice appear in supporting
8    documentation.  No representations are made about the suitability of this
9    software for any purpose.  It is provided "as is" without express or 
10    implied warranty.
11 */
12
13 #ifndef __STONERVIEW_MOVE_H__
14 #define __STONERVIEW_MOVE_H__
15
16 typedef struct elem_struct {
17   GLfloat pos[3];
18   GLfloat vervec[2];
19   GLfloat col[4];
20 } elem_t;
21
22 extern void init_move(stonerview_state *);
23 extern void final_move(stonerview_state *);
24 extern void move_increment(stonerview_state *);
25
26
27 extern stonerview_state * init_view(int wireframe_p);
28 extern void win_draw(stonerview_state *);
29 extern void win_release(stonerview_state *);
30
31 #endif /* __STONERVIEW_MOVE_H__ */