nuclear@0: #ifndef SCR_GAME_H_ nuclear@0: #define SCR_GAME_H_ nuclear@0: nuclear@0: #include "screen.h" nuclear@0: nuclear@0: class GameScreen : public Screen { nuclear@0: public: nuclear@0: const char *get_name() const; nuclear@0: nuclear@0: bool init(); nuclear@0: void cleanup(); nuclear@0: nuclear@0: void update(unsigned long tmsec); nuclear@0: void display() const; nuclear@0: nuclear@0: void reshape(int x, int y); nuclear@0: nuclear@0: void button(int bn, bool pressed, int x, int y); nuclear@0: void motion(int x, int y, bool pressed); nuclear@0: nuclear@0: long redisplay_interval() const; nuclear@0: }; nuclear@0: nuclear@0: #endif // SCR_GAME_H_