6 int game_init(int argc, char **argv)
8 if(init_opengl() == -1) {
12 if(init_options(argc, argv, "vrtris.conf") == -1) {
25 glClear(GL_COLOR_BUFFER_BIT);
28 assert(glGetError() == GL_NO_ERROR);
31 void game_reshape(int x, int y)
35 void game_keyboard(int key, int pressed)
39 void game_mouse_button(int bn, int pressed, int x, int y)
43 void game_mouse_motion(int x, int y)
47 void game_mouse_delta(int dx, int dy)
51 void game_mouse_wheel(int dir)
56 void game_gamepad_axis(int axis, float val)
60 void game_gamepad_button(int bn, int pressed)