summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/glpong3d.h b/glpong3d.h
index edc6394..76fb8e5 100644
--- a/glpong3d.h
+++ b/glpong3d.h
@@ -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;