]> git.mxchange.org Git - flightgear.git/commitdiff
Tweaks related to the HUD.
authorcurt <curt>
Fri, 5 Jan 2001 16:45:14 +0000 (16:45 +0000)
committercurt <curt>
Fri, 5 Jan 2001 16:45:14 +0000 (16:45 +0000)
Thanks
src/Main/options.cxx
src/Main/options.hxx

diff --git a/Thanks b/Thanks
index 3b6bd61f8050afa1df0ca417bd20538bdbf40220..7ff985ad4b22e6fb3250d898de457f8be6c08b06 100644 (file)
--- a/Thanks
+++ b/Thanks
@@ -132,6 +132,10 @@ Thomas Gellekum <tg@ihf.rwth-aachen.de>
   Changes and updates for compiling on FreeBSD
 
 
+Neetha Girish <neethagirish@usa.net>
+  Contributed the xml configurable HUD changes.
+
+
 Jeff Goeke-Smith <jgoeke@voyager.net>
   Contributed our first autopilot.  (Heading Hold)
   Better autoconf check for external timezone/daylight variables in 
index ae081c19bcf14b737f4ad13615ea69f4430f24d9..ce778416eb305ecbf383d545a59617774718c8eb 100644 (file)
@@ -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);
index 156c2fddcb22361dbe56b79a10420a5beda8f2e8..3d1fac29135f9a641ff49c7c67f4c085c456f323 100644 (file)
@@ -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 );