diff options
Diffstat (limited to 'glpong3d.h')
-rw-r--r-- | glpong3d.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7,11 +7,16 @@ #include "ball.h"
#include "paddle.h"
+typedef struct {
+ GLfloat x, y;
+} Mouse_t;
+
struct {
SDL_Event Event;
SDL_Surface * Surface;
Ball_t Ball;
- /*Paddle_t Front, Back;*/
+ Paddle_t Front;
+ Mouse_t Mouse;
GLfloat w;
GLfloat h;
Sint8 done;
|