X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2FAIPlane.hxx;h=53158f9296c5d9081b8176e40773fedfec3fe57b;hb=8b57675aef4930245a964816469be922e3004287;hp=b29726c39f262ed72866f7eda71a48a41881864c;hpb=aacebaf4b8f101dbad17f20e5136f50cd6991a6f;p=flightgear.git diff --git a/src/ATCDCL/AIPlane.hxx b/src/ATCDCL/AIPlane.hxx index b29726c39..53158f929 100644 --- a/src/ATCDCL/AIPlane.hxx +++ b/src/ATCDCL/AIPlane.hxx @@ -21,11 +21,11 @@ #ifndef _FG_AI_PLANE_HXX #define _FG_AI_PLANE_HXX -#include - #include "AIEntity.hxx" #include "ATC.hxx" +class SGSampleGroup; + enum PatternLeg { TAKEOFF_ROLL, CLIMBOUT, @@ -142,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 "". @@ -159,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 + + SGSharedPtr _sgr; }; #endif // _FG_AI_PLANE_HXX