Andrew Tribick
e6a7b32fee
Remove string_view compatibility headers
2021-12-28 21:14:29 +01:00
Andrew Tribick
11c0361324
Fixes for the Windows build
...
- Move the compatibility classes into the cel17 namespace
- Skip generating resource translations if Perl not present
- Use fmt/ostream.h instead of fmt/printf.h for string_view
2021-10-18 09:58:33 +03:00
Hleb Valoshka
5f911ca18e
Add ISO-8801 time format used in URL to astro::Date
2021-03-08 14:08:36 +03:00
Hleb Valoshka
ba7e0602a0
Remove 'using namespace std' from header files
2021-03-08 14:08:36 +03:00
Hleb Valoshka
8f46b2b978
astro - use std::string_view where appropriate
2021-03-08 14:08:36 +03:00
Hleb Valoshka
ddbe9ddd1d
Refactor astro.*/url.* to remove extern global variables
2020-07-12 10:41:53 +03:00
Hleb Valoshka
fb4bede3d1
Allow building without NLS
2020-02-15 00:20:13 +03:00
Hleb Valoshka
bb1f3aefe5
Add support for body mass units ( Closes : #513 )
2019-12-05 11:37:45 +03:00
Li Linfeng
c820617bb8
Use __APPLE__ in place of TARGET_OS_MAC
2019-08-20 10:19:42 +03:00
Hleb Valoshka
de1a8d181e
Remove unneeded celengine/celestia.h
2019-07-09 23:38:41 +03:00
Hleb Valoshka
f3a73dae71
Move math code into celmath namespace
2019-05-20 10:48:04 +03:00
Hleb Valoshka
81aa6f43bc
Remove support for old vector math
2019-03-16 18:21:50 +03:00
Hleb Valoshka
d1830f2b90
Fix leap seconds
...
- the first one was on 1972/June/30
- the last one was 2016/Dec/31 not 2015
2018-11-22 22:22:27 +03:00
Hleb Valoshka
8790e84a4c
Wrap compatibility methods with #ifdef __CELVEC__
2018-10-07 13:38:25 +03:00
Hleb Valoshka
4bdfe271e5
Remove C++14-isms
...
Some day this commit will be reverted.
2018-09-22 23:42:03 +03:00
Hleb Valoshka
f9d096d6da
Mark some methods as constexpr and replace with templates
2018-09-22 23:42:03 +03:00
Hleb Valoshka
73638c116d
Remove basictypes.h and use standard c++11 types
2018-09-22 23:42:03 +03:00
Hleb Valoshka
b082d5f47f
Automatically convert to c++11 using clan-tidy
...
+ manual cleanups
2018-09-22 23:42:02 +03:00
GottfriedSp
74e07e859b
added new leap seconds Jul 2015 and Jan 2016
...
fixed comment Jan 2012 -> Jul 2012
2018-09-22 23:41:58 +03:00
Hleb Valoshka
882e4ecf28
fix whitespaces and indents
...
trailing spaces are removed
tabs are replaced with 4 spaces
# Conflicts:
# src/celengine/cmdparser.cpp
# src/celengine/command.cpp
# src/celestia/celestiacore.cpp
# src/celestia/celestiacore.h
# src/celestia/qt/qtappwin.cpp
# src/celestia/qt/qtglwidget.cpp
# src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel
a3e6e2ee45
Added new leap second on 30 Jun 2012.
2012-02-11 03:51:24 +00:00
Andrew Tribick
a2191a3650
Added units support to parser and tokenizer. Units are specified inside angle brackets after the property name.
2009-12-16 19:23:51 +00:00
Chris Laurel
272a074544
Miscellaneous Eigenization; cleaned up obsolete functions in astro.cpp.
2009-07-23 03:51:42 +00:00
Chris Laurel
f73aad83f3
Eigenized picking code. Added new conversion methods to UniversalCoord that
...
abstract Celestia's internal units.
2009-07-16 02:28:00 +00:00
Chris Laurel
7272945657
First round of Eigen-izing the core Celestia code.
2009-07-15 03:06:30 +00:00
Pat Suwalski
bf6cc0ade2
Fix for FreeBSD tm_zone handling. Bug #2555791 .
2009-02-11 04:38:21 +00:00
Chris Laurel
34d762d8e9
Fixed compiler warnings on Mac OS X, mostly related to different type of
...
GLhandleARB on that platform.
2009-01-29 01:14:16 +00:00
Andrew Tribick
149959f8b2
Fixed some compiler warnings when building under gcc 4.3.
2009-01-26 20:49:35 +00:00
Chris Laurel
de41ec3813
Fixes to make Celestia build with gcc4.3
2008-11-16 10:19:38 +00:00
Chris Laurel
79b89e0881
Added new leap second 31-Dec-2008 23:59:60 to UTC conversion table.
2008-10-15 20:12:33 +00:00
Chris Laurel
2a9b4586ef
Implemented functions to convert between equatorial and galactic coordinate systems.
2008-05-29 21:26:17 +00:00
Chris Laurel
6f39d5c67b
Added a systemDate() method to the astro::Date class.
2008-04-23 04:18:01 +00:00
Chris Laurel
bf5b70e87f
Moved SOLAR_POWER and SOLAR_IRRADIANCE constants to astro namespace.
2008-02-26 22:51:37 +00:00
Chris Laurel
eabc69fdac
Fixed new time format code to compile on MinGW, which is GNU C, but lacks gmtoff and zone fields in tm structure.
2008-01-29 23:41:29 +00:00
Christophe Teyssier
b3c3fc48d6
Changed __GLIBC__ ifdefs to __GNUC__ for compatibility with other glibc
...
systems (OS X).
2008-01-18 22:46:23 +00:00
Christophe Teyssier
be1a0b9301
New Date/Time formating
2008-01-07 23:27:43 +00:00
Vincent Giangiulio
66f30edc7e
Added a decimalToHourMinSec angle conversion method.
2007-12-17 23:38:41 +00:00
Chris Laurel
1ec1f04491
Added support for ludicrously ancient or future dates in JD->calendar date conversion.
2007-12-05 17:59:46 +00:00
Vincent Giangiulio
f50ead3734
Replaced month with month name abbreviation in date display.
2007-11-25 11:28:34 +00:00
Vincent Giangiulio
8e288b122a
Fixed bug in the date calculation when time was a negative Julian days value.
2007-11-20 21:15:36 +00:00
Chris Laurel
664a4ddc38
Code cleanup:
...
- Removed remaining references to OrbitReferencePlane
- Replaced instances of constant for J2000 obliquity with astro::J2000Obliquity
2006-11-06 06:18:09 +00:00
Chris Laurel
601eebdc2b
Parse fractional seconds in date strings.
2006-09-24 03:19:52 +00:00
Toti
2a36ada0ae
Removed unused parameters
2006-09-16 14:32:08 +00:00
Toti
3eb580abe9
Commented out unused variables that were causing compiler warnings
2006-09-12 12:56:47 +00:00
Chris Laurel
077b63eac8
Fixed two bugs in time functions TDBcorrection and UTCtoTAI
2006-09-02 22:52:48 +00:00
Chris Laurel
fcaae7d93e
Added functions to convert between various astronomical time systems: UTC, TAI, TT, and TDB
2006-09-01 07:20:50 +00:00
Chris Laurel
55ef4fa4f6
Added double precision parsec to light year conversion.
2005-07-18 17:21:58 +00:00
Chris Laurel
2a0aa9cd3c
Corrected error in astro::anomaly() (and renamed from Anomaly in order be consistent with method name capitalization.)
2005-07-13 10:09:58 +00:00
Chris Laurel
2fdf2618c0
Updated render and selection code so planets orbiting stars in multiple system appear in the right place. Made a similar fix for orbit paths.
2004-09-28 07:44:34 +00:00
Chris Laurel
5fb0d163a6
Implemented synchronous orbits which allow easy placement of objects on the surface of planets.
2004-03-10 11:01:48 +00:00