From 6786cf9da47bec89951283f0e8bdea9c6c9d5ac7 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 1 Nov 2000 04:51:55 +0000 Subject: [PATCH] src/GUI/gui.cxx: - removed Toggle Clouds menu item src/Main/options.cxx: - (minor) added some code to sync up options with properties src/Main/bfi.[ch]xx: - removed (get|set)Clouds(ASL)? - removed setSpeedNorth, setSpeedEast, and setSpeedDown -- these are all read-only now - added setAirspeed (for calibrated kt) - extensive rewrite to support Tony's FDM changes - rearranged everything in bfi.hxx to mess up Curt's ediff examination - added properties for setting initial panel position src/Main/save.cxx: - reinit the tile cache after restore --- src/GUI/gui.cxx | 7 - src/Main/bfi.cxx | 389 +++++++++++++++++++++---------------------- src/Main/bfi.hxx | 155 +++++++++++------ src/Main/options.cxx | 4 + src/Main/save.cxx | 41 ++++- 5 files changed, 334 insertions(+), 262 deletions(-) diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index 617973b0c..87ffecbe1 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -732,11 +732,6 @@ void reInit(puObject *cb) BusyCursor(1); } -static void toggleClouds(puObject *cb) -{ - FGBFI::setClouds( !FGBFI::getClouds() ); -} - // This is the accessor function void guiTogglePanel(puObject *cb) { @@ -1445,11 +1440,9 @@ puCallback autopilotSubmenuCb [] = { }; char *environmentSubmenu [] = { - "Toggle Clouds", "Goto Airport", /* "Terrain", "Weather", */ NULL }; puCallback environmentSubmenuCb [] = { - toggleClouds, NewAirport, /* notCb, notCb, */ NULL }; diff --git a/src/Main/bfi.cxx b/src/Main/bfi.cxx index ba599925d..93a12c98b 100644 --- a/src/Main/bfi.cxx +++ b/src/Main/bfi.cxx @@ -48,6 +48,7 @@ #include