tavli

annotate src/game.h @ 6:a0d30f6f20d4

- texture coordinate generation in class Mesh - wood texture
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 26 Jun 2015 04:22:06 +0300
parents
children 283eb6e9f0a3
rev   line source
nuclear@0 1 #ifndef GAME_H_
nuclear@0 2 #define GAME_H_
nuclear@0 3
nuclear@0 4 extern int win_width, win_height;
nuclear@0 5
nuclear@0 6 bool game_init();
nuclear@0 7 void game_cleanup();
nuclear@0 8 void game_update(unsigned long time_msec);
nuclear@0 9 void game_display();
nuclear@0 10 void game_reshape(int x, int y);
nuclear@0 11 void game_keyboard(int bn, bool press);
nuclear@0 12 void game_mbutton(int bn, bool press, int x, int y);
nuclear@0 13 void game_mmotion(int x, int y);
nuclear@0 14
nuclear@0 15 void redisplay();
nuclear@0 16 void quit();
nuclear@0 17
nuclear@0 18 #endif /* GAME_H_ */