X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fnavradio.hxx;h=34c1350b003210119074026dad9b43242f4b1c67;hb=61812ef4b88f5aa74e9cc0630c84d6fc6b4a51cd;hp=6a07913ab814cd3b2fd20516e00e93807505bfd3;hpb=e48967cb1de18922fb148f05fe56966af917688f;p=flightgear.git diff --git a/src/Instrumentation/navradio.hxx b/src/Instrumentation/navradio.hxx index 6a07913ab..34c1350b0 100644 --- a/src/Instrumentation/navradio.hxx +++ b/src/Instrumentation/navradio.hxx @@ -50,7 +50,7 @@ class FGNavRadio : public SGSubsystem // property inputs SGPropertyNode_ptr is_valid_node; // is station data valid (may be way out - // of range.) + // of range.) SGPropertyNode_ptr power_btn_node; SGPropertyNode_ptr freq_node; // primary freq SGPropertyNode_ptr alt_freq_node; // standby freq @@ -58,6 +58,7 @@ class FGNavRadio : public SGSubsystem SGPropertyNode_ptr vol_btn_node; SGPropertyNode_ptr ident_btn_node; SGPropertyNode_ptr audio_btn_node; + SGPropertyNode_ptr backcourse_node; SGPropertyNode_ptr nav_serviceable_node; SGPropertyNode_ptr cdi_serviceable_node; SGPropertyNode_ptr gs_serviceable_node; @@ -123,16 +124,12 @@ class FGNavRadio : public SGSubsystem double target_radial; double loc_lon; double loc_lat; - double nav_x; - double nav_y; - double nav_z; + SGVec3d nav_xyz; double gs_lon; double gs_lat; double nav_elev; // use gs elev if available - double gs_x; - double gs_y; - double gs_z; - sgdVec3 gs_base_vec; + SGVec3d gs_xyz; + SGVec3d gs_base_vec; double gs_dist_signed; SGTimeStamp prev_time; SGTimeStamp curr_time; @@ -145,8 +142,8 @@ class FGNavRadio : public SGSubsystem double last_loc_dist; double last_xtrack_error; - string name; - int num; + string _name; + int _num; // internal periodic station search timer double _time_before_search_sec;