From: curt Date: Sun, 16 Jun 2002 00:05:07 +0000 (+0000) Subject: A little prepratory code reorganization before modeling the King KR 87 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7e237abd64f66134a8673d9fc8643c9f7fac770;p=flightgear.git A little prepratory code reorganization before modeling the King KR 87 Silver Crown Digital ADF. --- diff --git a/src/Cockpit/Makefile.am b/src/Cockpit/Makefile.am index 9f6789cdc..f1deeb23c 100644 --- a/src/Cockpit/Makefile.am +++ b/src/Cockpit/Makefile.am @@ -7,6 +7,7 @@ libCockpit_a_SOURCES = \ hud_labl.cxx hud_ladr.cxx \ hud_lat.cxx hud_lon.cxx \ hud_scal.cxx hud_tbi.cxx \ + kr_87.cxx kr_87.hxx \ panel.cxx panel.hxx \ panel_io.cxx panel_io.hxx \ radiostack.cxx radiostack.hxx \ diff --git a/src/Cockpit/kr_87.cxx b/src/Cockpit/kr_87.cxx new file mode 100644 index 000000000..8839bbed6 --- /dev/null +++ b/src/Cockpit/kr_87.cxx @@ -0,0 +1,298 @@ +// kr-87.cxx -- class to impliment the King KR 87 Digital ADF +// +// Written by Curtis Olson, started April 2002. +// +// Copyright (C) 2002 Curtis L. Olson - curt@flightgear.org +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. +// +// 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. +// +// $Id$ + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include // snprintf + +#include +#include + +#include +#include +#include