From ce574d59f536512931fa27a439d001863219f40b Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 19 Oct 2000 19:46:13 +0000 Subject: [PATCH] The following changes were made to flightgear-0.7.5 code to implement the follow ing features: a) ADA Flight model - ADA.cxx, ADA.hxx, flight.hxx b) Fighter a/c HUD - flight.hxx, hud.hxx, hud.cxx, cockpit.cxx, hud_ladr.c xx, hud_card.cxx c) 3-window display - options.hxx, options.cxx, viewer.cxx d) Moving objects (ship) - main.cxx e) Patches - main.cxx ADA.cxx, ADA.hxx -------------------------- Interface to the external ADA flight dynamics package. flight.hxx ---------- Included prototypes for accepting additional data fron the External flight model for fighter aircraft HUD Hud.hxx ------- Included prototypes for accepting additional data for fighter HUD from Exernal F light model. Defined FIGHTER_HUD pre-processor directive to enable compilation of fighter hud code. hud.cxx, cockpit.cxx, hud_ladr.cxx, hud_card.cxx --------------------------------------- Included code to initialise additional reticles/text for fighter HUD which is co nditionally compiled if FIGHTER_HUD is defined. options.hxx ----------- Added window_offset, and function to retrieve its value for 3 windows options.cxx ----------- Changed few options to suit ADA/CEF projection system/screens and checks for win dow offset. views.cxx --------- Added code to retrieve view offset for window. Main.cxx -------- Added code to load and move an aircraft carrier. Patch to enable clouds from command line until Curtis fixes it. By default cloud s are disabled. --- FlightGear.dsp | 2 +- src/Cockpit/cockpit.cxx | 243 ++++++++++++++++++- src/Cockpit/hud.cxx | 441 +++++++++++++++++++++++++++++++++-- src/Cockpit/hud.hxx | 40 ++++ src/Cockpit/hud_card.cxx | 425 ++++++++++++++++++++++++++++++++++ src/Cockpit/hud_ladr.cxx | 449 ++++++++++++++++++++++++++++++++++++ src/Cockpit/panel.cxx | 9 +- src/FDM/ADA.cxx | 293 +++++++++++++++++++++++ src/FDM/ADA.hxx | 174 ++++++++++++++ src/FDM/Makefile.am | 1 + src/FDM/flight.hxx | 60 ++--- src/GUI/gui.cxx | 58 ++--- src/Main/Makefile.am | 2 +- src/Main/fg_init.cxx | 30 +-- src/Main/globals.hxx | 12 + src/Main/keyboard.cxx | 55 +++-- src/Main/main.cxx | 246 +++++++++++++++----- src/Main/options.cxx | 31 ++- src/Main/options.hxx | 7 + src/Main/splash.cxx | 12 +- src/Main/viewer.cxx | 393 +++++++++++++++++++++++++++++++ src/Main/viewer.hxx | 206 +++++++++++++++++ src/Main/views.cxx | 2 + src/Main/views.hxx | 6 +- src/NetworkOLK/net_send.cxx | 10 +- src/Objects/matlib.cxx | 1 - src/Scenery/tilecache.cxx | 4 +- src/Scenery/tilemgr.cxx | 10 +- src/Time/light.cxx | 4 +- src/Time/moonpos.cxx | 5 +- src/Time/sunpos.cxx | 5 +- 31 files changed, 3020 insertions(+), 216 deletions(-) create mode 100644 src/FDM/ADA.cxx create mode 100644 src/FDM/ADA.hxx create mode 100644 src/Main/viewer.cxx create mode 100644 src/Main/viewer.hxx diff --git a/FlightGear.dsp b/FlightGear.dsp index 639bdec76..e658ec973 100644 --- a/FlightGear.dsp +++ b/FlightGear.dsp @@ -2238,7 +2238,7 @@ SOURCE=.\src\Main\splash.cxx # End Source File # Begin Source File -SOURCE=.\src\Main\views.cxx +SOURCE=.\src\Main\viewer.cxx !IF "$(CFG)" == "FlightGear - Win32 Release" diff --git a/src/Cockpit/cockpit.cxx b/src/Cockpit/cockpit.cxx index c26c65e86..3a88b6a5d 100644 --- a/src/Cockpit/cockpit.cxx +++ b/src/Cockpit/cockpit.cxx @@ -43,9 +43,9 @@ #include #include +#include #include
#include
-#include
#include #include