#include "GLTKkey.h"
#endif
-#include "../aircraft/aircraft.h"
-#include "../scenery/scenery.h"
+#include "../Aircraft/aircraft.h"
+#include "../Scenery/scenery.h"
#include "../mat3/mat3.h"
-#include "../timer/fg_timer.h"
+#include "../Timer/fg_timer.h"
#define DEG_TO_RAD 0.017453292
static GLfloat concrete[4] = { 0.5, 0.5, 0.5, 1.0 };
static GLfloat line[4] = { 0.9, 0.9, 0.9, 1.0 };
int i;
- int num_lines = 8;
+ int num_lines = 16;
float line_len, line_width_2, cur_pos;
runway = glGenLists(1);
static void fgSceneryDraw() {
static float z = 32.35;
+ glPushMatrix();
+
glCallList(terrain);
- /* z -= 0.01; */
printf("*** Drawing runway at %.2f\n", z);
- glTranslatef( -398391.28, 120070.41, z);
+ glTranslatef( -398391.28, 120070.41, 32.35);
glRotatef(170.0, 0.0, 0.0, 1.0);
glCallList(runway);
+
+ glPopMatrix();
}
/* $Log$
-/* Revision 1.18 1997/06/18 02:21:24 curt
-/* Hacked in a runway
+/* Revision 1.20 1997/06/21 17:12:53 curt
+/* Capitalized subdirectory names.
/*
+ * Revision 1.19 1997/06/18 04:10:31 curt
+ * A couple more runway tweaks ...
+ *
+ * Revision 1.18 1997/06/18 02:21:24 curt
+ * Hacked in a runway
+ *
* Revision 1.17 1997/06/17 16:51:58 curt
* Timer interval stuff now uses gettimeofday() instead of ftime()
*