X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=277ad4d9b2bdf8557d671fb2ee93649cf11e77ec;hb=ed434d9967b0b23e4abb172d699ef956246f4bf9;hp=c34c82446f03eb235a4d50d9c7c997d15199b703;hpb=ff4004b261677104d958591635b084131b678d59;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index c34c82446..277ad4d9b 100644 --- a/src/ATC/atc_mgr.hxx +++ b/src/ATC/atc_mgr.hxx @@ -36,6 +36,8 @@ #include #include + +#include //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