]> git.mxchange.org Git - flightgear.git/blobdiff - Main/GLmain.c
Capitalized subdirectory names.
[flightgear.git] / Main / GLmain.c
index 269cfe20177b7c8a8973776d93b039f6188ec987..f0e8008e6f0f0bb450a4310e4d7278cc7155a2c3 100644 (file)
     #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
@@ -292,7 +292,7 @@ GLint fgRunwayHack(double width, double length) {
     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);
@@ -336,14 +336,17 @@ GLint fgRunwayHack(double width, double length) {
 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();
 }
 
 
@@ -534,9 +537,15 @@ int main( int argc, char *argv[] ) {
 
 
 /* $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()
  *