Hleb Valoshka
14af83a391
Implement Logger to replace raw cerr/cout and DPRINTF usage
2021-12-20 17:54:50 +03:00
Andrew Tribick
ec232b7fad
Fix for debug builds
...
- Include fmt/ostream.h in debug.h to allow formatting filesystem paths
- Avoid including headers via debug.h on non-debug builds
2021-10-26 10:17:48 +03:00
pirogronian
035aa30ae5
Replace generic catalog type and related minor polishing.
2020-03-06 18:11:53 +01:00
pirogronian
1ebc427f41
Transform CatEntry into AstroObject with minimal common indexing rountines.
2020-03-06 18:11:53 +01:00
Li Linfeng
9c371c891c
define macros for print levels and avoid direct use of fmt::printf
2019-08-31 13:32:44 +08:00
pirogronian
e6e84d1ce3
User-defined categories. Core + Lua.
2018-12-07 10:17:11 +01:00
Hleb Valoshka
363abc40f3
Use libfmt instead of C-style & iostream workflow
...
TODO: check StarDatabase::getStarName
2018-10-17 22:19:03 +03:00
Hleb Valoshka
b082d5f47f
Automatically convert to c++11 using clan-tidy
...
+ manual cleanups
2018-09-22 23:42:02 +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
157b720854
Removed more code that used the old vector classes.
2009-08-05 21:13:29 +00:00
Chris Laurel
abeb350f5b
Eigen conversion:
...
- Eigenized locations and some cube map code in texture.cpp
- Removed eigenport.h include from completely converted modules
2009-07-24 23:02:23 +00:00
Chris Laurel
dcfb117012
More Eigenization changes and fixes for UniversalCoord methods.
2009-07-24 06:59:54 +00:00
Chris Laurel
5a31a08df9
Eigenized galaxy rendering and more of the core renderer.
2009-07-21 03:14:29 +00:00
Chris Laurel
86d1808519
Eigenized Body and Selection classes; adapted dependent code. Removed some
...
miscellaneous compile warnings in other modules.
2009-07-16 23:37:48 +00:00
Chris Laurel
93acae93e1
Implemented the visible flag for deep sky objects. The visible attribute may
...
be set either in the dsc object definition or in a celx script.
2008-08-07 05:35:29 +00:00
Chris Laurel
c4521a3c66
Fixed bug in calculation of the position of locations. The bug only occurred
...
when the location was the child of an object with a frame parent star
different than its namespace parent star (most commonly occurring when the
orbit frame center is the solar system barycenter.) This is hopefully the last
of this class of bug.
2008-05-18 00:18:41 +00:00
Chris Laurel
eba1b9940c
- Implemented framework for Orbit and RotationModel subclasses to implement their own velocity and angular velocity methods to use instead of numerical differentation. Actual implementation of velocity methods will wait until further discussion on the developers list.
...
- Implemented Timelines for solar system bodies. A timeline allows a body to have different reference frames, orbits, and rotation models over time.
2008-02-21 02:25:48 +00:00
Chris Laurel
9d6e767c05
Make Selection::parent() work for stars.
2008-02-08 04:13:51 +00:00
Chris Laurel
0cda718f63
Added new ssc object flags for visibility, orbit color, and orbit visibility. Added ssc properties for visibility and orbit color, celx methods for all new flags.
2008-02-04 00:17:35 +00:00
Chris Laurel
b6092bd594
Made locations work properly in multiple star systems (or in our solar system when the Sun is moving around the solar system barycenter)
2006-11-22 19:07:41 +00:00
Christophe Teyssier
a8fdbda6a4
Added i18n option to getName method
2006-08-19 22:22:44 +00:00
Chris Laurel
974213f905
Integrated changes from Fridger and Toti's Celestia FT 1.2
2005-11-18 09:00:39 +00:00
Chris Laurel
304c984e62
Implemented complex star systems:
...
- Barycenters may be defined in .stc files; star orbits may be defined with respect to a fixed or moving barycenter
- Eliminated BarycenterIsOrigin flag; barycenters are a more general solution
- Previously, just the closest solar system was rendered; changed renderer to show planets for all solar systems visible
- Added automatic star catalog number generation, so stars can be defined with just a name. Some futher work required to make these stars work correctly in cel:// URLS.
2004-10-02 10:44:49 +00:00
Chris Laurel
64b2b94d96
Added flag to set whether solar system center is a star or the barycenter of orbiting stars.
2004-09-29 16:20:21 +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
40a3e15efd
Implemented star orbits. Much work remains, as there's a lot of code that still assumes fixed stars.
2004-09-28 04:44:26 +00:00
Chris Laurel
73a5ee4591
Added a parent method for selections.
2003-08-07 16:40:47 +00:00
Chris Laurel
001ab3dc52
Made locations selectable.
2003-06-29 16:26:08 +00:00
Chris Laurel
d7b3afc866
Redo the selection class to use a single pointer and a type field.
2003-06-25 17:40:24 +00:00
Chris Laurel
6218428245
Added new DeepSkyObject base class for Galaxy and Nebula
2003-01-29 05:47:50 +00:00
Chris Laurel
49289bdbb5
Added getName() method
2002-01-09 22:59:53 +00:00
Chris Laurel
82c9379ed9
Removed old source files
2001-12-17 20:42:57 +00:00
Chris Laurel
38e79736c5
Reorganized source tree into multiple directories.
2001-11-28 01:50:04 +00:00