#include <GL/glut.h>
#include "GLUTkey.h"
-#include "../aircraft/aircraft.h"
+#include "../Aircraft/aircraft.h"
extern double fogDensity;
extern double goal_view_offset;
} else {
switch (k) {
case 50: /* numeric keypad 2 */
- fgElevMove(-0.01);
+ fgElevMove(-0.05);
return;
case 56: /* numeric keypad 8 */
- fgElevMove(0.01);
+ fgElevMove(0.05);
return;
case 49: /* numeric keypad 1 */
fgElevTrimMove(-0.001);
fgElevTrimMove(0.001);
return;
case 52: /* numeric keypad 4 */
- fgAileronMove(-0.01);
+ fgAileronMove(-0.05);
return;
case 54: /* numeric keypad 6 */
- fgAileronMove(0.01);
+ fgAileronMove(0.05);
return;
case 48: /* numeric keypad Ins */
- fgRudderMove(-0.01);
+ fgRudderMove(-0.05);
return;
case 13: /* numeric keypad Enter */
- fgRudderMove(0.01);
+ fgRudderMove(0.05);
return;
case 53: /* numeric keypad 5 */
fgAileronSet(0.0);
/* Handle "special" keyboard events */
-void GLUTspecialkey(unsigned char k, int x, int y) {
+void GLUTspecialkey(int k, int x, int y) {
struct control_params *c;
c = ¤t_aircraft.controls;
switch (k) {
case GLUT_KEY_UP:
- fgElevMove(0.01);
+ fgElevMove(0.05);
return;
case GLUT_KEY_DOWN:
- fgElevMove(-0.01);
+ fgElevMove(-0.05);
return;
case GLUT_KEY_LEFT:
- fgAileronMove(-0.01);
+ fgAileronMove(-0.05);
return;
case GLUT_KEY_RIGHT:
- fgAileronMove(0.01);
+ fgAileronMove(0.05);
return;
}
/* $Log$
-/* Revision 1.8 1997/06/02 03:01:38 curt
-/* Working on views (side, front, back, transitions, etc.)
+/* Revision 1.12 1997/06/21 17:12:52 curt
+/* Capitalized subdirectory names.
/*
+ * 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.
+ *
+ * Revision 1.8 1997/06/02 03:01:38 curt
+ * Working on views (side, front, back, transitions, etc.)
+ *
* Revision 1.7 1997/05/31 19:16:25 curt
* Elevator trim added.
*