// Started by David Megginson, October 2001
// (Reuses some code from main.cxx, probably by Curtis Olson)
//
-// Copyright (C) 2001 Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2001 Curtis L. Olson - http://www.flightgear.org/~curt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
#ifndef __FGFX_HXX
#define __FGFX_HXX 1
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
-class FGSound;
+class SGXmlSound;
/**
* Generator for FlightGear sound effects.
* on current flight conditions. The sound manager must be initialized
* before this object is.
*/
-class FGFX : public FGSubsystem
+class FGFX : public SGSubsystem
{
public:
private:
- vector<FGSound *> _sound;
+ vector<SGXmlSound *> _sound;
+
+ bool last_pause;
+ double last_volume;
+
+ SGPropertyNode *_pause;
+ SGPropertyNode *_volume;
};