X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2FAIPlane.hxx;h=aba6e7b7ec5c7297d41850445f2c66f056c53649;hb=86f462933d0d7130e4e688183976620ed2ddb5ae;hp=489ec1793de2d6e39a9232d38f8bc8f9bac35785;hpb=0f4f044a9475093732584e00d2480ebad9dbfedd;p=flightgear.git diff --git a/src/ATCDCL/AIPlane.hxx b/src/ATCDCL/AIPlane.hxx index 489ec1793..aba6e7b7e 100644 --- a/src/ATCDCL/AIPlane.hxx +++ b/src/ATCDCL/AIPlane.hxx @@ -24,6 +24,8 @@ #include "AIEntity.hxx" #include "ATC.hxx" +class SGSampleGroup; + enum PatternLeg { TAKEOFF_ROLL, CLIMBOUT, @@ -140,7 +142,7 @@ private: // Outputs the transmission either on screen or as audio depending on user preference // The refname is a string to identify this sample to the sound manager // The repeating flag indicates whether the message should be repeated continuously or played once. - void Render(const string& refname, bool repeating); + void Render(const string& refname, const float volume, bool repeating); // Cease rendering a transmission. // Requires the sound manager refname if audio, else "". @@ -157,6 +159,8 @@ private: bool _trackSet; // Set true if tgtTrack is to be followed double _tgtRoll; bool _rollSuspended; // Set true when a derived class has suspended AIPlane's roll control + + SGSampleGroup *_sgr; }; #endif // _FG_AI_PLANE_HXX