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
} 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);
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;
}
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; }
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 );