1
0
Fork 0

Time: Renamed the sunsolver.cxx to bodysolver.cxx.

This is in preparation for generalising the code for handling all solar system bodies.
This commit is contained in:
Edward d'Auvergne 2015-12-11 23:51:41 +01:00
parent af8625e4ac
commit 0ba2e8708e
5 changed files with 8 additions and 8 deletions

View file

@ -3,13 +3,13 @@ include(FlightGearComponent)
set(SOURCES
TimeManager.cxx
light.cxx
sunsolver.cxx
bodysolver.cxx
)
set(HEADERS
TimeManager.hxx
light.hxx
sunsolver.hxx
bodysolver.hxx
)
flightgear_component(Time "${SOURCES}" "${HEADERS}")
flightgear_component(Time "${SOURCES}" "${HEADERS}")

View file

@ -33,7 +33,7 @@
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Time/sunsolver.hxx>
#include <Time/bodysolver.hxx>
using std::string;

View file

@ -1,5 +1,5 @@
/*
* sunsolver.cxx - given a location on earth and a time of day/date,
* bodysolver.cxx - given a location on earth and a time of day/date,
* find the number of seconds to various sun positions.
*
* Written by Curtis Olson, started September 2003.
@ -37,7 +37,7 @@
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#include "sunsolver.hxx"
#include "bodysolver.hxx"
static const time_t day_secs = 86400;

View file

@ -1,5 +1,5 @@
/*
* sunsolver.hxx - given a location on earth and a time of day/date,
* bodysolver.hxx - given a location on earth and a time of day/date,
* find the number of seconds to various sun positions.
*
* Written by Curtis Olson, started September 2003.

View file

@ -46,7 +46,7 @@
#include <Viewer/view.hxx>
#include "light.hxx"
#include "sunsolver.hxx"
#include "bodysolver.hxx"
// Constructor
FGLight::FGLight ()