]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/cockpit.hxx
fix ugly aliasing effects in moving scales (caused by integer calculation
[flightgear.git] / src / Cockpit / cockpit.hxx
index fce2a0a297824c5ae9bd058970795ae7d22c58bf..b3d7b420eb317abc2f2f194d8d679b88aa26a602 100644 (file)
@@ -17,7 +17,7 @@
  *
  * 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$
  **************************************************************************/
@@ -32,7 +32,7 @@
 #endif
 
 
-#include "hud.hxx"
+#include <Aircraft/aircraft.hxx>
 #include "panel.hxx"
 
 // Class fg_Cockpit          This class is a holder for the heads up display
 class fg_Cockpit  {
   private:
     int  Code;
-    int  Status;
+    int  cockpitStatus;
+    SGPropertyNode_ptr hud_status;
 
   public:
-    fg_Cockpit   () : Code(1), Status(0) {};
+    fg_Cockpit   () : Code(1), cockpitStatus(0) {};
     int   code  ( void ) { return Code; }
-    int   status( void ) { return Status; }
+    int   status( void ) { return cockpitStatus; }
 };