Commit Graph

30 Commits (spacecruft)

Author SHA1 Message Date
Hleb Valoshka 14af83a391 Implement Logger to replace raw cerr/cout and DPRINTF usage 2021-12-20 17:54:50 +03: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
Hleb Valoshka e2bbd838a5 Add state tracking for blending 2020-07-08 15:09:18 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Hleb Valoshka fb4bede3d1 Allow building without NLS 2020-02-15 00:20:13 +03:00
Hleb Valoshka b6b543438d Port to filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka a93befe941 Remove uneeded #include "vecgl.h" 2019-07-09 23:38:41 +03:00
Hleb Valoshka de1a8d181e Remove unneeded celengine/celestia.h 2019-07-09 23:38:41 +03:00
Hleb Valoshka a10da37741 Return correct type from DeepSkyObject::getRenderMask()
More correctly is to return Renderer::RenderFlags, but this require big
render.h refactoring.
2019-07-07 12:10:21 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka ea3988b6f3 Remove unused GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka dbd7090117 Make ShaderManager private property of Renderer 2018-12-11 20:32:13 +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 b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Vincent Giangiulio 863f5fe1e6 Marked "Nebula" and "Open cluster" for gettext translation. 2009-12-12 10:06:28 +00:00
Chris Laurel 1c89b0568f Cleaned up include files used by modules in celengine:
- Include files in order from most specialized to most general
- Use C++ versions of headers (e.g. cmath instead of math.h)
2009-10-04 14:12:59 +00:00
cartrite 42281e4a53 Replaced lines that refered to celengine/gl.h with GL/glew.h
Added code for glewinit so all render modes work in kde
updated makefile includes path to use GL/glew.h
Removed glext from kde and gtk builds
Removed celengine/gl.h from celestia.pro
2009-08-15 17:51:15 +00:00
Chris Laurel e36646501b Eigenized more DSO code. 2009-07-25 00:28:19 +00:00
Chris Laurel 33a9728bc5 Changed type string for open clusters from "Cluster" to "Open cluster" 2008-06-06 23:38:17 +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
Toti f55ed1dd3c Clarified variable names 2007-01-08 00:03:07 +00:00
Toti 11b26cdf45 Corrected metric for DSO pickingdeepskyobj.cpp 2007-01-05 20:29:32 +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
Toti f2c4bfb632 -Removed unused parameters
-Replaced sprintf with safer snprintf
2006-09-16 18:25:32 +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 57ff878447 Added separate render and label flags for the various types of deep sky objects. This will break some scripts and cel:// URLs that relied on the 'show galaxies' flag to also show nebulae, but this is the inescapable cost of moving to a more flexible set of render settings. 2005-02-11 06:09:37 +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 013f2a2ab4 Added very basic support for open clusters. 2003-02-01 01:18:16 +00:00