vrshoot

diff src/scr_game.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/scr_game.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +#ifndef SCR_GAME_H_
     1.5 +#define SCR_GAME_H_
     1.6 +
     1.7 +#include "screen.h"
     1.8 +
     1.9 +class GameScreen : public Screen {
    1.10 +public:
    1.11 +	const char *get_name() const;
    1.12 +
    1.13 +	bool init();
    1.14 +	void cleanup();
    1.15 +
    1.16 +	void update(unsigned long tmsec);
    1.17 +	void display() const;
    1.18 +
    1.19 +	void reshape(int x, int y);
    1.20 +
    1.21 +	void button(int bn, bool pressed, int x, int y);
    1.22 +	void motion(int x, int y, bool pressed);
    1.23 +
    1.24 +	long redisplay_interval() const;
    1.25 +};
    1.26 +
    1.27 +#endif	// SCR_GAME_H_