summaryrefslogtreecommitdiff
path: root/paddle.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2010-01-22 01:21:30 -0500
committerMatt Turner <mattst88@gmail.com>2011-04-04 17:14:35 -0400
commitbf004a04b33e1172c5d9871dc4632ecadf491cd7 (patch)
treebb6ed01fa227952e8cb63b5852b5a54b049794e9 /paddle.h
parent3aa0e202c360cbf69bfa26fe23daf43f5ef695a1 (diff)
Split paddle and ball drawing into separate functions
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'paddle.h')
-rw-r--r--paddle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/paddle.h b/paddle.h
new file mode 100644
index 0000000..5dc4f12
--- /dev/null
+++ b/paddle.h
@@ -0,0 +1,12 @@
+#ifndef PADDLE_H
+#define PADDLE_H
+
+#include "SDL.h"
+#include "SDL_opengl.h"
+
+#include "glpong3d.h"
+
+void GLPong_PaddleDrawBack(const Paddle_t * paddle);
+void GLPong_PaddleDrawFront(const Paddle_t * paddle);
+
+#endif /* PADDLE_H */