]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atc_mgr.hxx
Merge branch 'next' into durk-atc
[flightgear.git] / src / ATC / atc_mgr.hxx
index c34c82446f03eb235a4d50d9c7c997d15199b703..277ad4d9b2bdf8557d671fb2ee93649cf11e77ec 100644 (file)
@@ -36,6 +36,8 @@
 
 #include <ATC/trafficcontrol.hxx>
 #include <ATC/atcdialog.hxx>
+
+#include <AIModel/AIAircraft.hxx>
 //class FGATCController;
 
 
@@ -46,7 +48,10 @@ class FGATCManager : public SGSubsystem
 {
 private:
   AtcVec activeStations;
+  FGAIAircraft ai_ac;
+  FGATCController *controller, *prevController; // The ATC controller that is responsible for the user's aircraft. 
   //FGATCDialogNew dialog;  // note that this variable should really replace the ugly global "currentATCDialog();
+  bool networkVisible;
 
 public:
   FGATCManager();
@@ -54,6 +59,7 @@ public:
   void init();
   void addController(FGATCController *controller);
   void update(double time);
+  FGATCDialogNew * getATCDialog() {  return currentATCDialog; };
 };
   
 #endif // _ATC_MRG_HXX_
\ No newline at end of file