part system
[demo_prior] / src / demo.h
1 #ifndef DEMO_H_
2 #define DEMO_H_
3
4 extern int win_width, win_height;
5 extern float win_aspect;
6 extern long time_msec;
7
8
9 int demo_init(void);
10 void demo_cleanup(void);
11
12 void demo_display(void);
13 void demo_reshape(int x, int y);
14
15 void demo_keyboard(int key, int st);
16 void demo_mbutton(int bn, int st, int x, int y);
17 void demo_mmotion(int x, int y);
18
19 void demo_sball_motion(int x, int y, int z);
20 void demo_sball_rotate(int x, int y, int z);
21 void demo_sball_button(int bn, int st);
22
23 void demo_quit(void);
24
25 #endif  /* DEMO_H_ */