vrshoot

annotate 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
rev   line source
nuclear@0 1 #ifndef GAME_H_
nuclear@0 2 #define GAME_H_
nuclear@0 3
nuclear@0 4 #include "shader.h"
nuclear@0 5 #include "timer.h"
nuclear@0 6
nuclear@0 7 extern ShaderProg *defsdr;
nuclear@0 8 extern Timer timer;
nuclear@0 9
nuclear@0 10 void game_set_args(int argc, char **argv);
nuclear@0 11
nuclear@0 12 bool game_init();
nuclear@0 13 void game_cleanup();
nuclear@0 14 void game_display();
nuclear@0 15 void game_reshape(int x, int y);
nuclear@0 16
nuclear@0 17 void game_key(int key, bool pressed);
nuclear@0 18
nuclear@0 19 int get_screen_width();
nuclear@0 20 int get_screen_height();
nuclear@0 21
nuclear@0 22 // defined by the system-glue code.
nuclear@0 23 void request_redisplay();
nuclear@0 24 void swap_buffers();
nuclear@0 25
nuclear@0 26 #endif // GAME_H_