vrshoot
annotate src/scr_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 SCR_GAME_H_ |
nuclear@0 | 2 #define SCR_GAME_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include "screen.h" |
nuclear@0 | 5 |
nuclear@0 | 6 class GameScreen : public Screen { |
nuclear@0 | 7 public: |
nuclear@0 | 8 const char *get_name() const; |
nuclear@0 | 9 |
nuclear@0 | 10 bool init(); |
nuclear@0 | 11 void cleanup(); |
nuclear@0 | 12 |
nuclear@0 | 13 void update(unsigned long tmsec); |
nuclear@0 | 14 void display() const; |
nuclear@0 | 15 |
nuclear@0 | 16 void reshape(int x, int y); |
nuclear@0 | 17 |
nuclear@0 | 18 void button(int bn, bool pressed, int x, int y); |
nuclear@0 | 19 void motion(int x, int y, bool pressed); |
nuclear@0 | 20 |
nuclear@0 | 21 long redisplay_interval() const; |
nuclear@0 | 22 }; |
nuclear@0 | 23 |
nuclear@0 | 24 #endif // SCR_GAME_H_ |