stratgame

diff src/game_part.h @ 4:cd12944a8ea8

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 25 May 2012 05:28:20 +0300
parents 8d95187cb3ee
children
line diff
     1.1 --- a/src/game_part.h	Wed May 23 17:10:46 2012 +0300
     1.2 +++ b/src/game_part.h	Fri May 25 05:28:20 2012 +0300
     1.3 @@ -7,7 +7,10 @@
     1.4  class Game : public Part {
     1.5  private:
     1.6  	Level level;
     1.7 +	float cam_theta, cam_phi, cam_dist;
     1.8 +
     1.9  public:
    1.10 +	Game();
    1.11  	~Game();
    1.12  
    1.13  	bool init();
    1.14 @@ -17,6 +20,8 @@
    1.15  	void draw() const;
    1.16  	void reshape(int x, int y);
    1.17  	void key(int key, bool pressed);
    1.18 +	void mouse_button(int bn, bool pressed);
    1.19 +	void mouse_motion(int x, int y);
    1.20  };
    1.21  
    1.22  #endif	// GAME_PART_H_