*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
**************************************************************************/
# error This library requires C++
#endif
+#include <osg/State>
-#include "hud.hxx"
-#include "panel.hxx"
-
-// Class fg_Cockpit This class is a holder for the heads up display
-// and is initialized with a
-class fg_Cockpit {
- private:
- int Code;
- int cockpitStatus;
-
- public:
- fg_Cockpit () : Code(1), cockpitStatus(0) {};
- int code ( void ) { return Code; }
- int status( void ) { return cockpitStatus; }
-};
-
-
-typedef fg_Cockpit * pCockpit;
-
-bool fgCockpitInit( fgAIRCRAFT *cur_aircraft );
-void fgCockpitUpdate( void );
-
+bool fgCockpitInit();
+void fgCockpitUpdate( osg::State* );
#endif /* _COCKPIT_HXX */