X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=33fa5c40a970376c04e1d1d0ffa550dfbedba5e2;hb=81c0e0b3df9a742c7bdcae9e0ce1d234b70b4fb0;hp=bef72695de5099eb2e4d0a826d9ee610fb71216c;hpb=49677f512b8edaaf22c76761dbbf9c0850c79aad;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index bef72695d..33fa5c40a 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,9 @@ class FGATCManager : public SGSubsystem { private: AtcVec activeStations; - FGATCDialogNew dialog; + FGAIAircraft ai_ac; + FGATCController *controller; // The ATC controller that is responsible for the user's aircraft. + //FGATCDialogNew dialog; // note that this variable should really replace the ugly global "currentATCDialog(); public: FGATCManager(); @@ -54,6 +58,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