3dphotoshoot

annotate src/game.h @ 20:c14613d27a3a

writing a C++ shader class for this
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 11 Jun 2015 02:53:43 +0300
parents a4bf2687e406
children d7fe157c402d
rev   line source
nuclear@0 1 #ifndef GAME_H_
nuclear@0 2 #define GAME_H_
nuclear@0 3
nuclear@20 4 #ifdef __cplusplus
nuclear@20 5 extern "C" {
nuclear@20 6 #endif
nuclear@20 7
nuclear@0 8 int game_init(void);
nuclear@0 9 void game_shutdown(void);
nuclear@0 10
nuclear@0 11 void game_display(unsigned long msec);
nuclear@0 12 void game_reshape(int x, int y);
nuclear@0 13
nuclear@0 14 void game_keyboard(int key, int press);
nuclear@0 15 void game_mouse_button(int id, int bn, int press, int x, int y);
nuclear@0 16 void game_mouse_motion(int id, int x, int y);
nuclear@0 17
nuclear@0 18 /* provided by the system frontend */
nuclear@0 19 void set_mouse_pos(int x, int y);
nuclear@0 20 void set_mouse_cursor(int enable);
nuclear@0 21
nuclear@20 22 #ifdef __cplusplus
nuclear@20 23 }
nuclear@20 24 #endif
nuclear@20 25
nuclear@0 26 #endif /* GAME_H_ */
nuclear@0 27