From: ehofman Date: Tue, 26 Jul 2005 08:08:41 +0000 (+0000) Subject: Remove unused code, especially concidering the non-commercial clause in the copyright... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73f06ccef3d4c68d716deac0781e6caf8ded9a6d;p=flightgear.git Remove unused code, especially concidering the non-commercial clause in the copyright statement. --- diff --git a/src/Time/Makefile.am b/src/Time/Makefile.am index 41180d3a7..30c9a8b39 100644 --- a/src/Time/Makefile.am +++ b/src/Time/Makefile.am @@ -3,7 +3,6 @@ noinst_LIBRARIES = libTime.a libTime_a_SOURCES = \ fg_timer.cxx fg_timer.hxx \ light.cxx light.hxx \ - moonpos.cxx moonpos.hxx \ sunpos.cxx sunpos.hxx \ sunsolver.cxx sunsolver.hxx \ tmp.cxx tmp.hxx diff --git a/src/Time/moonpos.cxx b/src/Time/moonpos.cxx deleted file mode 100644 index 516048ddb..000000000 --- a/src/Time/moonpos.cxx +++ /dev/null @@ -1,443 +0,0 @@ -// moonpos.cxx (basically, this is a slightly modified version of the -// 'sunpos.cxx' file, adapted from XEarth) -// -// kirk johnson -// july 1993 -// -// code for calculating the position on the earth's surface for which -// the moon is directly overhead (adapted from _practical astronomy -// with your calculator, third edition_, peter duffett-smith, -// cambridge university press, 1988.) -// -// Copyright (C) 1989, 1990, 1993, 1994, 1995 Kirk Lauritz Johnson -// -// Parts of the source code (as marked) are: -// Copyright (C) 1989, 1990, 1991 by Jim Frost -// Copyright (C) 1992 by Jamie Zawinski -// -// Permission to use, copy, modify and freely distribute xearth for -// non-commercial and not-for-profit purposes is hereby granted -// without fee, provided that both the above copyright notice and this -// permission notice appear in all copies and in supporting -// documentation. -// -// The author makes no representations about the suitability of this -// software for any purpose. It is provided "as is" without express or -// implied warranty. -// -// THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -// INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, -// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT -// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, -// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -// -// $Id$ - - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include - -#ifdef SG_HAVE_STD_INCLUDES -# include -# include -# include -#else -# include -# include -# include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include - -#include
-#include
-#include -#include