diff options
author | Matt Turner <mattst88@gmail.com> | 2006-08-04 17:01:27 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2006-08-04 17:01:27 +0000 |
commit | 30783e44cac2b4a32eedff9ee5052ba61dde0a6c (patch) | |
tree | f7fa76a061b9d86bda7e155d9b8149c498e620b5 /glpong3d.h | |
parent | 2702663dd712037f01d9dd97663d8f63603ea930 (diff) |
Begin working on paddles
git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@6 4dd1920e-271a-0410-bca0-81b404a81564
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;
|