writing a mesh abstraction
[vrtris] / src / menuscr.c
1 #include "screen.h"
2
3 static int init(void);
4 static void cleanup(void);
5 static void start(void);
6 static void stop(void);
7 static void update(float dt);
8 static void draw(void);
9 static void reshape(int x, int y);
10 static void keyboard(int key, int pressed);
11 static void mouse(int bn, int pressed, int x, int y);
12 static void motion(int x, int y);
13 static void wheel(int dir);
14
15 struct game_screen main_menu_screen = {
16         "main menu",
17         1,      /* opaque */
18         0,      /* next */
19         init,
20         cleanup,
21         start,
22         stop,
23         update,
24         draw,
25         reshape,
26         keyboard,
27         mouse,
28         motion,
29         wheel
30 };
31
32
33 static int init(void)
34 {
35         return 0;
36 }
37
38 static void cleanup(void)
39 {
40 }
41
42 static void start(void)
43 {
44 }
45
46 static void stop(void)
47 {
48 }
49
50 static void update(float dt)
51 {
52 }
53
54 static void draw(void)
55 {
56 }
57
58 static void reshape(int x, int y)
59 {
60 }
61
62 static void keyboard(int key, int pressed)
63 {
64 }
65
66 static void mouse(int bn, int pressed, int x, int y)
67 {
68 }
69
70 static void motion(int x, int y)
71 {
72 }
73
74 static void wheel(int dir)
75 {
76 }