From: curt Date: Wed, 18 Jun 1997 04:10:31 +0000 (+0000) Subject: A couple more runway tweaks ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0688c54540c1d867e79217ab06a6e7a9331bb30e;p=flightgear.git A couple more runway tweaks ... --- diff --git a/Main/GLUTkey.c b/Main/GLUTkey.c index 74a6ee0bb..a670e67ec 100644 --- a/Main/GLUTkey.c +++ b/Main/GLUTkey.c @@ -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. * diff --git a/Main/GLmain.c b/Main/GLmain.c index 269cfe201..291f0a057 100644 --- a/Main/GLmain.c +++ b/Main/GLmain.c @@ -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() * diff --git a/Main/mesh2GL.c b/Main/mesh2GL.c index b30865a5e..33192c767 100644 --- a/Main/mesh2GL.c +++ b/Main/mesh2GL.c @@ -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. *