From 183b871b483c153d3b55f68948b91179a62e232f Mon Sep 17 00:00:00 2001 From: frohlich Date: Tue, 17 Mar 2009 06:51:48 +0000 Subject: [PATCH] Fix a problem with two concurent 'round to multiple of basic simulation time' code paths. The problem may lead to skipped fdm updates at very high frame rates. The most visible effect of that was that the aircraft slips backwards wrt the forward moving carrier. Remove unused stuff. Modified Files: configure.ac projects/VC7.1/FlightGear.vcproj projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp src/FDM/SP/BalloonSim.h src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am Removed Files: src/Time/fg_timer.cxx src/Time/fg_timer.hxx --- projects/VC7.1/FlightGear.vcproj | 6 -- projects/VC8/FlightGearLib.vcproj | 8 -- src/Cockpit/cockpit.cxx | 1 - src/FDM/flight.cxx | 54 ++------------ src/FDM/flight.hxx | 2 - src/Main/main.cxx | 47 +++--------- src/Time/Makefile.am | 1 - src/Time/fg_timer.cxx | 120 ------------------------------ src/Time/fg_timer.hxx | 47 ------------ 9 files changed, 16 insertions(+), 270 deletions(-) delete mode 100644 src/Time/fg_timer.cxx delete mode 100644 src/Time/fg_timer.hxx diff --git a/projects/VC7.1/FlightGear.vcproj b/projects/VC7.1/FlightGear.vcproj index 85cc1dcff..f4f252542 100755 --- a/projects/VC7.1/FlightGear.vcproj +++ b/projects/VC7.1/FlightGear.vcproj @@ -2223,12 +2223,6 @@ - - - - diff --git a/projects/VC8/FlightGearLib.vcproj b/projects/VC8/FlightGearLib.vcproj index 58e0ba086..9e46a281f 100755 --- a/projects/VC8/FlightGearLib.vcproj +++ b/projects/VC8/FlightGearLib.vcproj @@ -488,10 +488,6 @@ RelativePath="..\..\src\include\fg_stl_config.h" > - - @@ -2198,10 +2194,6 @@ RelativePath="..\..\src\main\fg_props.cxx" > - - diff --git a/src/Cockpit/cockpit.cxx b/src/Cockpit/cockpit.cxx index 3865ce718..4e7651f7c 100644 --- a/src/Cockpit/cockpit.cxx +++ b/src/Cockpit/cockpit.cxx @@ -45,7 +45,6 @@ #include
#include
#include -#include