]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATC.cxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / ATC / ATC.cxx
index 2f4d944fb3d7791b67d338478d557ce134b78ee0..38af59ef5fe116dd3cd664b9dfbb9721dd1daf5b 100644 (file)
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
+#include <simgear/sound/soundmgr.hxx>
+
 #include <Main/fgfs.hxx>
 #include <Main/fg_props.hxx>
-#include <Sound/soundmgr.hxx>
 
 #include "ATC.hxx"
 #include "ATCdisplay.hxx"
@@ -28,7 +29,7 @@
 FGATC::~FGATC() {
 }
 
-void FGATC::Update() {
+void FGATC::Update(double dt) {
 }
 
 void FGATC::AddPlane(string pid) {
@@ -73,7 +74,7 @@ void FGATC::Render(string msg, string refname, bool repeating) {
                int len;
                unsigned char* buf = vPtr->WriteMessage((char*)msg.c_str(), len, voice);
                if(voice) {
-                       FGSimpleSound* simple = new FGSimpleSound(buf, len);
+                       SGSimpleSound* simple = new SGSimpleSound(buf, len);
                        // TODO - at the moment the volume is always set off comm1 
                        // and can't be changed after the transmission has started.
                        simple->set_volume(5.0 * fgGetDouble("/radios/comm[0]/volume"));