Code reorganization.

This commit is contained in:
curt
2000-02-15 02:30:02 +00:00
parent 6cf51c3222
commit a8f8cef484
9 changed files with 31 additions and 21 deletions

View File

@@ -16,4 +16,4 @@ libAstro_a_SOURCES = \
uranus.cxx uranus.hxx \
venus.cxx venus.hxx
INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib -I$(top_builddir)/Simulator
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src

View File

@@ -22,7 +22,7 @@
* $Id$
**************************************************************************/
#include <Debug/logstream.hxx>
#include <simgear/logstream.hxx>
#ifdef FG_MATH_EXCEPTION_CLASH
# define exception c_exception

View File

@@ -31,8 +31,9 @@
#endif
#include <simgear/constants.h>
#include <Time/fg_time.hxx>
#include <Include/fg_constants.h>
class Star;

View File

@@ -25,9 +25,10 @@
#include <string.h>
#include <Debug/logstream.hxx>
#include <simgear/logstream.hxx>
#include <simgear/fgpath.hxx>
#include <Main/options.hxx>
#include <Misc/fgpath.hxx>
#include <Objects/texload.h>
#ifdef __BORLANDC__

View File

@@ -24,8 +24,9 @@
#ifndef _MOON_HXX_
#define _MOON_HXX_
#include <simgear/constants.h>
#include <Aircraft/aircraft.hxx>
#include <Include/fg_constants.h>
#include <Main/views.hxx>
#include <Time/fg_time.hxx>

View File

@@ -32,14 +32,15 @@
#include <math.h>
#include <GL/glut.h>
#include <XGL/xgl.h>
#include <simgear/xgl.h>
#include <simgear/logstream.hxx>
#include <simgear/constants.h>
#include <simgear/fg_random.h>
#include <Aircraft/aircraft.hxx>
#include <Debug/logstream.hxx>
#include <FDM/flight.hxx>
#include <Include/fg_constants.h>
#include <Main/views.hxx>
#include <Math/fg_random.h>
#include <Time/event.hxx>
#include <Time/fg_time.hxx>

View File

@@ -36,8 +36,10 @@
#include <math.h>
#include <GL/glut.h>
#include <XGL/xgl.h>
#include <Debug/logstream.hxx>
#include <simgear/xgl.h>
#include <simgear/logstream.hxx>
#include <Time/sunpos.hxx>
#include <Time/moonpos.hxx>
#include "solarsystem.hxx"

View File

@@ -26,10 +26,13 @@
# define exception c_exception
#endif
#include <math.h>
#include <simgear/logstream.hxx>
#include <Time/sunpos.hxx>
#include <Debug/logstream.hxx>
#include <Time/light.hxx>
#include <Main/options.hxx>
#include "star.hxx"
/*************************************************************************

View File

@@ -30,7 +30,8 @@
# include <windows.h>
#endif
#include "Include/compiler.h"
#include <simgear/compiler.h>
#ifdef FG_HAVE_STD_INCLUDES
# include <cmath>
# include <cstdio>
@@ -46,18 +47,18 @@
#include <string>
#include <GL/glut.h>
#include <XGL/xgl.h>
#include <simgear/xgl.h>
#include <simgear/logstream.hxx>
#include <simgear/constants.h>
#include <simgear/fgpath.hxx>
#include <simgear/fgstream.hxx>
#include <simgear/stopwatch.hxx>
#include <Aircraft/aircraft.hxx>
#include <Debug/logstream.hxx>
#include <Include/fg_constants.h>
#include <Misc/fgpath.hxx>
#include <Misc/fgstream.hxx>
#include <Misc/stopwatch.hxx>
#include <Main/options.hxx>
#include <Main/views.hxx>
#include <Time/fg_time.hxx>
#include "Misc/stopwatch.hxx"
#include "stars.hxx"