From 9b186bbaba1913b65ce01c570878b98346b35c71 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 6 Aug 2006 18:06:33 +0000 Subject: Added FPS counter. Cleaned up GLC code. git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@12 4dd1920e-271a-0410-bca0-81b404a81564 --- glpong3d.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'glpong3d.h') 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; -- cgit v1.2.3