diff --git a/FlightGear.dsp b/FlightGear.dsp index c7da4d296..3209be438 100644 --- a/FlightGear.dsp +++ b/FlightGear.dsp @@ -1093,6 +1093,21 @@ SOURCE=.\src\FDM\LaRCsim\ls_step.c # End Source File # Begin Source File +SOURCE=.\src\FDM\LaRCsim\ls_trim.c + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_LaRCsim" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_LaRCsim" + +!ENDIF + +# End Source File +# Begin Source File + SOURCE=.\src\FDM\LaRCsim\c172_aero.c !IF "$(CFG)" == "FlightGear - Win32 Release" @@ -2095,6 +2110,21 @@ SOURCE=.\src\FDM\MagicCarpet.cxx # PROP Default_Filter "" # Begin Source File +SOURCE=.\src\GUI\apt_dlg.cxx + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_GUI" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_GUI" + +!ENDIF + +# End Source File +# Begin Source File + SOURCE=.\src\GUI\gui.cxx !IF "$(CFG)" == "FlightGear - Win32 Release" @@ -2107,6 +2137,66 @@ SOURCE=.\src\GUI\gui.cxx !ENDIF +# End Source File +# Begin Source File + +SOURCE=.\src\GUI\gui_local.cxx + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_GUI" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_GUI" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\src\GUI\mouse.cxx + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_GUI" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_GUI" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\src\GUI\net_dlg.cxx + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_GUI" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_GUI" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\src\GUI\trackball.c + +!IF "$(CFG)" == "FlightGear - Win32 Release" + +# PROP Intermediate_Dir "Release\Lib_GUI" + +!ELSEIF "$(CFG)" == "FlightGear - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Lib_GUI" + +!ENDIF + # End Source File # End Group # Begin Group "Lib_Joystick" diff --git a/src/Autopilot/newauto.cxx b/src/Autopilot/newauto.cxx index aaea3e23b..e432ee094 100644 --- a/src/Autopilot/newauto.cxx +++ b/src/Autopilot/newauto.cxx @@ -184,10 +184,10 @@ void FGAutopilot::MakeTargetWPStr( double distance ) { void FGAutopilot::update_old_control_values() { - old_aileron = FGBFI::getAileron(); - old_elevator = FGBFI::getElevator(); - old_elevator_trim = FGBFI::getElevatorTrim(); - old_rudder = FGBFI::getRudder(); + old_aileron = controls.get_aileron(); + old_elevator = controls.get_elevator(); + old_elevator_trim = controls.get_elevator_trim(); + old_rudder = controls.get_rudder(); } diff --git a/src/Cockpit/cockpit.cxx b/src/Cockpit/cockpit.cxx index cd77d685d..76de6c0de 100644 --- a/src/Cockpit/cockpit.cxx +++ b/src/Cockpit/cockpit.cxx @@ -755,6 +755,4 @@ void fgCockpitUpdate( void ) { globals->get_options()->get_xsize(), globals->get_options()->get_ysize() ); - if (current_panel != 0) - current_panel->update(); } diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 11370d745..8cfc864a8 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -33,7 +33,9 @@ #include #include + #include
+#include
#include #include