vrshoot
view src/game.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | |
children |
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 #include "shader.h"
5 #include "timer.h"
7 extern ShaderProg *defsdr;
8 extern Timer timer;
10 void game_set_args(int argc, char **argv);
12 bool game_init();
13 void game_cleanup();
14 void game_display();
15 void game_reshape(int x, int y);
17 void game_key(int key, bool pressed);
19 int get_screen_width();
20 int get_screen_height();
22 // defined by the system-glue code.
23 void request_redisplay();
24 void swap_buffers();
26 #endif // GAME_H_