summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/glpong3d.h b/glpong3d.h
index 55ac799..80d6cb0 100644
--- a/glpong3d.h
+++ b/glpong3d.h
@@ -45,19 +45,15 @@ typedef struct {
} Mouse_t;
typedef struct {
- GLuint context;
- GLuint font;
-} GLC_t;
-
-struct {
SDL_Surface * Surface;
Ball_t Ball;
Paddle_t Front;
Paddle_t Back;
Mouse_t Mouse;
- GLC_t GLC;
GLfloat fps;
-} GLPong;
+} GLPong_t;
+
+GLPong_t GLPong;
void GLPong_Collide(Ball_t * ball, const Paddle_t * paddle);