summaryrefslogtreecommitdiff
path: root/glpong3d.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2006-08-04 21:23:58 +0000
committerMatt Turner <mattst88@gmail.com>2006-08-04 21:23:58 +0000
commit4dad8cc6605fc7e01386ae2a0bb4dc061b64fd5f (patch)
tree3d72d8679cb62c15fd0cf630267cecdacd7414de /glpong3d.h
parentdb11e471adb42d1def9cd85cfc82ae07b491cd70 (diff)
Added new SkyOS paddle. Paddle should move with mouse as expected.
git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@8 4dd1920e-271a-0410-bca0-81b404a81564
Diffstat (limited to 'glpong3d.h')
-rw-r--r--glpong3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glpong3d.h b/glpong3d.h
index 76fb8e5..27122ab 100644
--- a/glpong3d.h
+++ b/glpong3d.h
@@ -16,6 +16,7 @@ struct {
SDL_Surface * Surface;
Ball_t Ball;
Paddle_t Front;
+ Paddle_t Back;
Mouse_t Mouse;
GLfloat w;
GLfloat h;
@@ -29,7 +30,6 @@ void GLPong_CleanUp();
void GLPong_Move();
GLuint SDL_GL_SurfaceToTexture(SDL_Surface * surface);
-/*GLuint SDL_GL_NPOTSurfaceToTexture(SDL_Surface * surface, GLfloat * wratio, GLfloat * hratio);*/
__inline__ unsigned int NextPow2(unsigned int value);
#endif