(no commit message)
[atyndall/cits2231.git] / globals.h
index d856c57..4c7854a 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -39,7 +39,7 @@ extern GLfloat lightPosition[];
 extern int moving, startx, starty;
 extern int lightMoving, lightStartX, lightStartY;
 
-
+/* Time varying or user-controled variables. */
 extern float jump;
 extern float lightAngle, lightHeight;
 extern GLfloat angle;
@@ -63,15 +63,30 @@ extern int drawFloorRecurse;
 extern int floorSize;
 
 /* Current camera position */
-extern GLfloat camx, camy, camz;
+extern GLfloat camx, camy, camz, rot;
+
+/* Length of axis lines */
+extern GLfloat lineLength;
 
 /* Light 0 parameters */
 extern GLfloat diffuse0[];
 extern GLfloat ambient0[];
 extern GLfloat specular0[];
 extern GLfloat emission0[];
+
+extern GLfloat direction0[];
 extern GLfloat light0_pos[];
+
+extern GLfloat shine;
+
 extern GLfloat glightmodel[];
 
-#endif /* GLOBALS_H */
+/* Material types */
+extern GLfloat ambient[];
+extern GLfloat diffuse[];
+extern GLfloat specular[];
+
+/* Beginning width, height */
+extern int width, height;
 
+#endif /* GLOBALS_H */
\ No newline at end of file

UCC git Repository :: git.ucc.asn.au