From 3e7bc24006cb2fe0c979d5884e787283a8a128fd Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 5 Jan 2001 16:45:14 +0000 Subject: [PATCH] Tweaks related to the HUD. --- Thanks | 4 ++++ src/Main/options.cxx | 9 +-------- src/Main/options.hxx | 6 ------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Thanks b/Thanks index 3b6bd61f8..7ff985ad4 100644 --- a/Thanks +++ b/Thanks @@ -132,6 +132,10 @@ Thomas Gellekum Changes and updates for compiling on FreeBSD +Neetha Girish + Contributed the xml configurable HUD changes. + + Jeff Goeke-Smith Contributed our first autopilot. (Heading Hold) Better autoconf check for external timezone/daylight variables in diff --git a/src/Main/options.cxx b/src/Main/options.cxx index ae081c19b..ce778416e 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -667,16 +667,9 @@ int FGOptions::parse_option( const string& arg ) { } else if ( arg == "--disable-hud" ) { hud_status = false; globals->get_props()->setBoolValue("/sim/hud/visibility", false); -//$$$ begin - added Neetha - } else if ( arg == "--enable-default_hud" ) { + } else if ( arg == "--enable-hud" ) { hud_status = true; - hud_flag = 1; globals->get_props()->setBoolValue("/sim/hud/visibility", true); - } else if ( arg == "--enable-ada_hud" ) { - hud_status = true; - hud_flag = 2; - globals->get_props()->setBoolValue("/sim/hud/visibility", true); -//$$$ end - added Neetha } else if ( arg == "--disable-panel" ) { panel_status = false; globals->get_props()->setBoolValue("/sim/panel/visibility", false); diff --git a/src/Main/options.hxx b/src/Main/options.hxx index 156c2fddc..3d1fac291 100644 --- a/src/Main/options.hxx +++ b/src/Main/options.hxx @@ -197,7 +197,6 @@ private: double visibility; // visibilty in meters // HUD options - int hud_flag; // Type of hud, added by Neetha, 28 Nov 2k int units; // feet or meters int tris_or_culled; @@ -300,8 +299,6 @@ public: } inline double get_default_visibility() const { return visibility; } - // added, Neetha, 28 Nov 2k - inline int get_hud_flag() const { return hud_flag; } inline int get_units() const { return units; } inline int get_tris_or_culled() const { return tris_or_culled; } @@ -383,9 +380,6 @@ public: inline void set_network_olk( bool net ) { network_olk = net; } inline void set_net_id( const string id ) { net_id = id; } - // added, Neetha, 28 Nov 2k - inline void set_hud_flag (int value) { hud_flag = value; } - private: void parse_control( const string& mode ); -- 2.39.5