//
// Written by Curtis Olson, started April 2000.
//
-// Copyright (C) 2000 Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2000 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
#define _FG_DME_HXX
-#include <Main/fgfs.hxx>
#include <Main/fg_props.hxx>
#include <simgear/compiler.h>
-
+#include <simgear/structure/subsystem_mgr.hxx>
// #include <simgear/math/interpolater.hxx>
#include <simgear/timing/timestamp.hxx>
-#include <Navaids/ilslist.hxx>
+// #include <Navaids/ilslist.hxx>
#include <Navaids/navlist.hxx>
// #include <Sound/beacon.hxx>
#include <Sound/morse.hxx>
// #include "kt_70.hxx" // Transponder
// #include "navcom.hxx"
-class FGDME : public FGSubsystem
+class FGDME : public SGSubsystem
{
SGPropertyNode *lon_node;
SGPropertyNode *lat_node;
double x;
double y;
double z;
+ double bias;
double dist;
double prev_dist;
double spd;