]> git.mxchange.org Git - flightgear.git/commitdiff
A couple more runway tweaks ...
authorcurt <curt>
Wed, 18 Jun 1997 04:10:31 +0000 (04:10 +0000)
committercurt <curt>
Wed, 18 Jun 1997 04:10:31 +0000 (04:10 +0000)
Main/GLUTkey.c
Main/GLmain.c
Main/mesh2GL.c

index 74a6ee0bbf25738d4f021e96d8fa3c892d6bb9df..a670e67ec44311fdfef836efee366d641608a7b8 100644 (file)
@@ -73,10 +73,10 @@ void GLUTkey(unsigned char k, int x, int y) {
     } else {
        switch (k) {
        case 50: /* numeric keypad 2 */
-           fgElevMove(-0.02);
+           fgElevMove(-0.05);
            return;
        case 56: /* numeric keypad 8 */
-           fgElevMove(0.02);
+           fgElevMove(0.05);
            return;
        case 49: /* numeric keypad 1 */
            fgElevTrimMove(-0.001);
@@ -85,16 +85,16 @@ void GLUTkey(unsigned char k, int x, int y) {
            fgElevTrimMove(0.001);
            return;
        case 52: /* numeric keypad 4 */
-           fgAileronMove(-0.02);
+           fgAileronMove(-0.05);
            return;
        case 54: /* numeric keypad 6 */
-           fgAileronMove(0.02);
+           fgAileronMove(0.05);
            return;
        case 48: /* numeric keypad Ins */
-           fgRudderMove(-0.02);
+           fgRudderMove(-0.05);
            return;
        case 13: /* numeric keypad Enter */
-           fgRudderMove(0.02);
+           fgRudderMove(0.05);
            return;
        case 53: /* numeric keypad 5 */
            fgAileronSet(0.0);
@@ -135,16 +135,16 @@ void GLUTspecialkey(int k, int x, int y) {
 
     switch (k) {
     case GLUT_KEY_UP:
-       fgElevMove(0.02);
+       fgElevMove(0.05);
        return;
     case GLUT_KEY_DOWN:
-       fgElevMove(-0.02);
+       fgElevMove(-0.05);
        return;
     case GLUT_KEY_LEFT:
-       fgAileronMove(-0.02);
+       fgAileronMove(-0.05);
        return;
     case GLUT_KEY_RIGHT:
-       fgAileronMove(0.02);
+       fgAileronMove(0.05);
        return;
     }
 
@@ -152,9 +152,12 @@ void GLUTspecialkey(int k, int x, int y) {
 
 
 /* $Log$
-/* Revision 1.10  1997/06/18 02:21:23  curt
-/* Hacked in a runway
+/* Revision 1.11  1997/06/18 04:10:31  curt
+/* A couple more runway tweaks ...
 /*
+ * Revision 1.10  1997/06/18 02:21:23  curt
+ * Hacked in a runway
+ *
  * Revision 1.9  1997/06/02 03:40:06  curt
  * A tiny bit more view tweaking.
  *
index 269cfe20177b7c8a8973776d93b039f6188ec987..291f0a0579383b1f9ab434a467d81ff915bcfacf 100644 (file)
@@ -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);
@@ -534,9 +534,12 @@ int main( int argc, char *argv[] ) {
 
 
 /* $Log$
-/* Revision 1.18  1997/06/18 02:21:24  curt
-/* Hacked in a runway
+/* 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()
  *
index b30865a5ef9a57ddbe99f130d351b5fced665c13..33192c7670e27d38c397ded5f000ad9b52751c57 100644 (file)
@@ -46,7 +46,7 @@ GLint mesh2GL(struct mesh *m) {
     int i, j, istep, jstep, iend, jend;
     float temp;
 
-    istep = jstep = 16;  /* Detail level 1 -- 1200 ... */
+    istep = jstep = 25;  /* Detail level 1 -- 1200 ... */
 
     mesh = glGenLists(1);
     glNewList(mesh, GL_COMPILE);
@@ -108,9 +108,12 @@ GLint mesh2GL(struct mesh *m) {
 
 
 /* $Log$
-/* Revision 1.19  1997/06/18 02:21:24  curt
-/* Hacked in a runway
+/* Revision 1.20  1997/06/18 04:10:32  curt
+/* A couple more runway tweaks ...
 /*
+ * Revision 1.19  1997/06/18 02:21:24  curt
+ * Hacked in a runway
+ *
  * Revision 1.18  1997/06/17 04:19:17  curt
  * More timer related tweaks with respect to view direction changes.
  *