summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/glpong3d.h b/glpong3d.h
index a248b7c..dfe6cab 100644
--- a/glpong3d.h
+++ b/glpong3d.h
@@ -13,6 +13,11 @@ typedef struct {
GLfloat x, y;
} Mouse_t;
+typedef struct {
+ GLuint context;
+ GLuint font;
+} GLC_t;
+
struct {
SDL_Event Event;
SDL_Surface * Surface;
@@ -20,8 +25,10 @@ struct {
Paddle_t Front;
Paddle_t Back;
Mouse_t Mouse;
+ GLC_t GLC;
GLfloat w;
GLfloat h;
+ GLuint fps;
Sint8 done;
} GLPong;