]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/cockpit.hxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Cockpit / cockpit.hxx
index cd97859b03c96d294c390869a4d26c624dad4da4..e9caab6dec0beb46988802e5a2d2c00f1468c5c5 100644 (file)
 # error This library requires C++
 #endif
 
+#include <osg/State>
 
-#include <Aircraft/aircraft.hxx>
+#include "Aircraft/aircraft.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;
-    SGPropertyNode * hud_status;
-
-  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 );
-
+void fgCockpitUpdate( osg::State* );
 
 #endif /* _COCKPIT_HXX */