Hleb Valoshka
14af83a391
Implement Logger to replace raw cerr/cout and DPRINTF usage
2021-12-20 17:54:50 +03:00
Andrew Tribick
a670d8e3be
Cleanup and fix celutil/util.h; rename to tzutil.h
...
- Replace deleteFunc with lambdas
- Remove unused printlineFunc, memsize
- string_view does not allow returning the TZ name, replace with std::string&
2021-12-04 11:44:36 +01:00
Andrew Tribick
debcca3a1c
Further celmath cleanup
...
- Tidy up includes and namespace handling
- Replace Ray with Eigen::ParametrizedLine
2021-11-14 19:42:39 +01:00
pirogronian
1ebc427f41
Transform CatEntry into AstroObject with minimal common indexing rountines.
2020-03-06 18:11:53 +01:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +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
514a948144
Return reference from getInfoURL() of DeepSkyObject and Location
2018-12-08 02:05:52 +03:00
pirogronian
e6e84d1ce3
User-defined categories. Core + Lua.
2018-12-07 10:17:11 +01:00
Hleb Valoshka
1fda8e35f0
Fix warnings found by PVS
...
- 1 copy-paste error
- 1 nullptr dereference
- fixed self-assignment in Mesh::VertexDescription::operator=
- a few missing delete
- all other are checks for nullptr after new
2018-10-28 22:00:27 +03: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
6b412b7a65
Remove unneeded includes of eigenport.h
2018-10-07 13:38:24 +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
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
Andrew Tribick
207823b1d8
Patch to fix valgrind errors and gcc warnings from Daniel K.O.
...
Use #ifdef FOO instead of #if FOO
Unused function parameter names
Uninitialised member in FrameTree
Memory read after deallocation in ReferenceFrame
Unmatched new[]/delete[] in StarDatabase
Uninitialised temperature in StarDatabase
Uninitialised member of RenderListEntry: isOpaque
Fix for convoluted code in renderer
2012-04-26 19:50:22 +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
e36646501b
Eigenized more DSO code.
2009-07-25 00:28:19 +00:00
Chris Laurel
272a074544
Miscellaneous Eigenization; cleaned up obsolete functions in astro.cpp.
2009-07-23 03:51:42 +00:00
Chris Laurel
5a31a08df9
Eigenized galaxy rendering and more of the core renderer.
2009-07-21 03:14:29 +00:00
Fridger Schrempp
222ee6b1a5
major upgrade of globular cluster code
2009-02-03 20:21:36 +00:00
Chris Laurel
074df10527
Removed spacecraft.ssc from celestia.cfg; spacecraft are now all in
...
extras-standard.
2008-10-22 23:29:28 +00:00
Fridger Schrempp
c46e6c41fd
Implement globular clusters
2008-09-20 14:17:39 +00:00
Chris Laurel
8dac3c6931
Added the Clickable property for deep sky objects.
2008-09-09 20:48:28 +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
Da Woon Jung
aa23254863
Enabled relative paths for InfoURLs.
2007-11-01 00:20:05 +00:00
Vincent Giangiulio
e938b9012a
- Added getObjTypeName method to DeepSkyObject class for making celx type return "galaxy", "nebula", or "opencluster" instead of the generic "deepsky"
...
- Remove unnecessary implementation of get/setHubbleType methods and use getType method instead
2007-04-02 07:55:49 +00:00
Vincent Giangiulio
155320d999
- Added catalogNumber, hubbleType and absoluteMagnitude fields to the table returned when getinfo is called on a DSO in a celx script.
...
- Added getdsocount and getdso methods for celestia object.
2007-03-13 21:14:31 +00:00
Toti
f55ed1dd3c
Clarified variable names
2007-01-08 00:03:07 +00:00
Toti
a50d014056
Corrected metric for DSO picking
2007-01-05 20:35:35 +00:00
Toti
b667cc4cae
Made several changes to DSO picking code:
...
- picking is now delegated to subclasses
- ray-ellipsoid intersection test used for galaxies
- made picking of overlapping DSOs possible
2006-12-08 19:19:29 +00:00
Christophe Teyssier
0647d52bca
Made relative infoURL relative to the current directory (the addon's dir)
...
instead of to the main data directory.
2006-07-24 18:21:19 +00:00
Chris Laurel
83bab00d30
Added getDescription method to DeepSkyObject class for returning more detailed information about an object than just its type.
2005-11-21 10:22:52 +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
3fb7a9c689
- Add context as a parameter when rendering deep sky objects (required in order to use shaders)
...
- Add absolute magnitude for deep sky objects
2005-07-12 17:37:00 +00:00
Chris Laurel
7f0df46561
Support local resource directories for deep sky objects and 3DS meshes.
2003-03-24 08:55:54 +00:00
Chris Laurel
c8771b0168
Added InfoURL field, as for solar system objects.
2003-02-20 08:34:19 +00:00
Chris Laurel
013f2a2ab4
Added very basic support for open clusters.
2003-02-01 01:18:16 +00:00
Chris Laurel
08d472ac7d
Changed ReadDeepSkyCatalog to LoadDeepSkyObjects; the latter reads deep sky objects and adds them to a vector that's passed as an argument.
2003-01-31 23:39:07 +00:00
Chris Laurel
7c3c365a96
Added general support for deep sky objects.
2003-01-27 02:04:46 +00:00