#include "globals.hxx"
#include "keyboard.hxx"
#include "fg_props.hxx"
-
+#include "options.hxx"
// From main.cxx
extern void fgReshape( int width, int height );
);
return;
case 8: // Ctrl-H key
- current_autopilot->set_HeadingMode(
- FGAutopilot::FG_HEADING_LOCK );
+ current_autopilot->set_HeadingMode(
+ FGAutopilot::FG_DG_HEADING_LOCK );
current_autopilot->set_HeadingEnabled(
! current_autopilot->get_HeadingEnabled()
);
current_autopilot->set_HeadingEnabled( true );
} else {
current_autopilot->set_HeadingMode(
- FGAutopilot::FG_HEADING_LOCK );
+ FGAutopilot::FG_DG_HEADING_LOCK );
}
return;
case GLUT_KEY_F8: {// F8 toggles fog ... off fastest nicest...