summaryrefslogtreecommitdiffstats
path: root/sdl/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/client.h')
-rw-r--r--sdl/client.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sdl/client.h b/sdl/client.h
new file mode 100644
index 0000000..b576a83
--- /dev/null
+++ b/sdl/client.h
@@ -0,0 +1,21 @@
+#ifndef _CLIENT_H_
+#define _CLIENT_H_
+
+#include <GL/glew.h>
+
+/* client extends functionality of the host platform */
+struct client
+{
+ /* display lists identifiers */
+ GLuint ground_list;
+ GLuint triangle_list;
+
+ /* pyramid texture handle */
+ GLuint textures[2];
+
+ GLfloat xrot;
+ GLfloat yrot;
+};
+
+#endif
+