diff options
author | Matt Turner <mattst88@gmail.com> | 2006-08-06 18:06:33 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2006-08-06 18:06:33 +0000 |
commit | 9b186bbaba1913b65ce01c570878b98346b35c71 (patch) | |
tree | 141efc9b602c36de6dab41bc3ff1eb6d1f096d5a /glpong3d.h | |
parent | faa75e3a202b773d5f90cd99bc076ca9635440bf (diff) |
Added FPS counter. Cleaned up GLC code.
git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@12 4dd1920e-271a-0410-bca0-81b404a81564
Diffstat (limited to 'glpong3d.h')
-rw-r--r-- | glpong3d.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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;
|