]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/marker_beacon.hxx
Minor main loop/init clean-up
[flightgear.git] / src / Instrumentation / marker_beacon.hxx
index 25e435feae4b4d93d96e49e4bfd8a25b1f48d118..5836f92ea3a4d1aa4b21c0d16339f28e3d63ec5e 100644 (file)
 #include <simgear/math/interpolater.hxx>
 #include <simgear/timing/timestamp.hxx>
 
-#include <Sound/beacon.hxx>
-#include <Sound/morse.hxx>
-
 class SGSampleGroup;
 
 class FGMarkerBeacon : public SGSubsystem
 {
-    FGBeacon beacon;
-    FGMorse morse;
-
     SGInterpTable *term_tbl;
     SGInterpTable *low_tbl;
     SGInterpTable *high_tbl;
@@ -57,8 +51,6 @@ class FGMarkerBeacon : public SGSubsystem
     SGPropertyNode_ptr serviceable;
     SGPropertyNode_ptr sound_working;
 
-    bool need_update;
-
     bool outer_marker;
     bool middle_marker;
     bool inner_marker;
@@ -89,6 +81,7 @@ public:
     ~FGMarkerBeacon();
 
     void init ();
+    void reinit ();
     void bind ();
     void unbind ();
     void update (double dt);