]> git.mxchange.org Git - simgear.git/commitdiff
Migrated this source over to SimGear.
authorcurt <curt>
Wed, 5 Jul 2000 00:20:08 +0000 (00:20 +0000)
committercurt <curt>
Wed, 5 Jul 2000 00:20:08 +0000 (00:20 +0000)
14 files changed:
simgear/ephemeris/Makefile.am
simgear/ephemeris/celestialBody.hxx
simgear/ephemeris/ephemeris.hxx
simgear/ephemeris/jupiter.hxx
simgear/ephemeris/mars.hxx
simgear/ephemeris/mercury.hxx
simgear/ephemeris/moon.cxx
simgear/ephemeris/moon.hxx
simgear/ephemeris/neptune.hxx
simgear/ephemeris/saturn.hxx
simgear/ephemeris/star.cxx
simgear/ephemeris/star.hxx
simgear/ephemeris/uranus.hxx
simgear/ephemeris/venus.hxx

index b10bf21ce70152a53efbefdfdbbe9c6a2cadc0fe..fa901de191c9a17b4a2114f59d4e44e17bbf4d0a 100644 (file)
@@ -1,18 +1,34 @@
-noinst_LIBRARIES = libEphemeris.a
+includedir = @includedir@/ephemeris
 
-libEphemeris_a_SOURCES = \
-       celestialBody.cxx celestialBody.hxx \
-       ephemeris.cxx ephemeris.hxx \
-       jupiter.cxx jupiter.hxx \
-       mars.cxx mars.hxx \
-       mercury.cxx mercury.hxx \
-       moon.cxx moon.hxx \
-       neptune.cxx neptune.hxx \
+lib_LIBRARIES = libsgephem.a
+
+include_HEADERS = \
+       celestialBody.hxx \
+        ephemeris.hxx \
+       jupiter.hxx \
+       mars.hxx \
+       mercury.hxx \
+       moon.hxx \
+       neptune.hxx \
+       saturn.hxx \
+       star.hxx \
+       stars.hxx \
+       uranus.hxx \
+       venus.hxx
+
+libsgephem_a_SOURCES = \
+       celestialBody.cxx \
+       ephemeris.cxx \
+       jupiter.cxx \
+       mars.cxx \
+       mercury.cxx \
+       moon.cxx \
+       neptune.cxx \
        pluto.hxx \
-       saturn.cxx saturn.hxx \
-       star.cxx star.hxx \
-       stars.cxx stars.hxx \
-       uranus.cxx uranus.hxx \
-       venus.cxx venus.hxx
+       saturn.cxx \
+       star.cxx \
+       stars.cxx \
+       uranus.cxx \
+       venus.cxx
 
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+INCLUDES += -I$(top_builddir)
index 59611ef44839d6e6db720a8b0b78f86e3a1f029f..c9cda8b9e9ff93cfdc4c5dcf98e340fa44820681 100644 (file)
@@ -32,8 +32,7 @@
 
 
 #include <simgear/constants.h>
-
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
 
 class Star;
 
index f6658edd2de7cb3bd6bec81e52ffd597af12f534..063dcf54b00cd9fafb420532857f0de4d37f78da 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <plib/sg.h>
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
 
 #include "star.hxx"
 #include "moon.hxx"
index a490fa2fdca153a999b280ad2c20c7c1e468c976..ddf74ddda8972132fea620865ca7dd02b03e7b14 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _JUPITER_HXX_
 #define _JUPITER_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 9501f3c212fe6f9e2bf4ccb8874f3db0ae01e80b..d773e06efef65397a1507772fe0ca4497cd05ea6 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _MARS_HXX_
 #define _MARS_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 2404785136026f89834dd78014008476335189b2..8f92f080818c16fb6aa32a2f283e0f35b47fabff 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _MERCURY_HXX_
 #define _MERCURY_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 3b1d65f97d31a53e7b4c9a18eb801b897e973dee..79267dc351e6ca06d5c87eac6f6dedbb7c0877bf 100644 (file)
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/fgpath.hxx>
 
-#include <Main/options.hxx>
-#include <Objects/texload.h>
-
 #ifdef __BORLANDC__
 #  define exception c_exception
 #endif
 #include <math.h>
 
-#include <FDM/flight.hxx>
+// #include <FDM/flight.hxx>
 
 #include "moon.hxx"
 
@@ -89,12 +86,6 @@ void Moon::updatePosition(FGTime *t, double lat, Star *ourSun)
     Ls, Lm, D, F, mpar, gclat, rho, HA, g,
     geoRa, geoDec;
   
-  fgAIRCRAFT *air;
-  FGInterface *f;
-
-  air = &current_aircraft;
-  f = air->fdm_state;
   updateOrbElements(t);
   actTime = fgCalcActTime(t);
 
index 91210753492df9c437d9ee003b0dd9361d4baf25..4f3ca4f8b84d5725d3869b84dd6d90e0f90af737 100644 (file)
 
 
 #include <simgear/constants.h>
-
-#include <Aircraft/aircraft.hxx>
-#include <Main/views.hxx>
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
 
 #include "celestialBody.hxx"
 #include "star.hxx"
index b837eab5cbc643d9e29d6dc38d9789a6c6c69ae7..17e6f7d106b929fc258d019f07c1addf26e7ee9f 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _NEPTUNE_HXX_
 #define _NEPTUNE_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 1b5033772fec4008a5bf265fec7eac5f03bf225a..ab42adffb84e3d81a4e7afada25d93660aa9444d 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _SATURN_HXX_
 #define _SATURN_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 5e1a443154b367d3e4b9459037f529dceefbb5b6..3aff95db49eb7d82ce07a712d138658808980092 100644 (file)
 
 #include <simgear/debug/logstream.hxx>
 
-#include <Time/sunpos.hxx>
-#include <Time/light.hxx>
-#include <Main/options.hxx>
-
 #include "star.hxx"
 
 
index 7b3b02a51052b7b94ce83a04d3d081558698fa31..5c4ffa690aeb81078c2c98aa176d26dcebb9de28 100644 (file)
@@ -25,7 +25,7 @@
 #define _STAR_HXX_
 
 
-#include <Time/fg_time.hxx>
+// #include <Time/fg_time.hxx>
 #include "celestialBody.hxx"
 
 
index 5773c0d5d4dac4021b7bf0ebaa3c0916ffbb3e71..c5cf448ec80ccc7f16a60bee58ecc5f4b228295a 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _URANUS_HXX_
 #define _URANUS_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"
 
index 71b7dd04e87517663f625607da07e5c6644e1fad..aa2935b4d0df34db95b751238a5c32e472386e83 100644 (file)
@@ -24,7 +24,8 @@
 #ifndef _VENUS_HXX_
 #define _VENUS_HXX_
 
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
 #include "celestialBody.hxx"
 #include "star.hxx"