Commit Graph

54 Commits (86f2aab284ea0f9ad243a74b684ea071b5aab73b)

Author SHA1 Message Date
Hleb Valoshka 8a903b0d0d [celx] Add acceleration time to observer:gotoselection()
+ replace magic values with constants
 + small cleanup
2021-11-25 16:22:09 +03:00
Levin Li d6270ecac2 i18n for star and dsos in code 2021-05-22 09:34:34 +08:00
Hleb Valoshka 89991fb773 Natural order sorting for typed text completions 2020-07-26 11:14:04 +03:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
pirogronian c3567d820c Replace refcounted objects with std::shared_ptr 2019-08-16 12:45:57 +03:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka 27e39aa4c3 Use c.push_back instead of c.insert(c.end,...) 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
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
Chris Laurel 9cca6b8c27 Eigenized Observer and Simulation classes. Fixed star picking bug. 2009-07-22 04:53:15 +00:00
Chris Laurel 301a74e16a Improved selection cursor:
- Animation effect to make it easier to notice
- Pointer shown at view border when selection is off screen
- Cursor has different appearance when selection object is occluded
- Cursor doesn't interfere with markers
2008-09-25 18:31:48 +00:00
Chris Laurel f9975120d9 Location fixes:
- Added symbols for locations.
- Fixed visibility calculation for locations on ellipsoidal, non-spherical
bodies.
- Allow location labels to be occluded by foreground objects.
- Added new location types: eruptive center, insula (islands), and
tholus (domical hills and mountains)
2008-05-22 20:30:45 +00:00
Da Woon Jung e59f4b4b54 HDR bloom, adaptive exposure, calibrated nightlights - disabled by default, enable with USE_HDR and HDR_COMPRESS. 4 new vertex programs added. 2008-03-25 00:23:16 +00:00
Chris Laurel a6cc486542 Rewrote observer class to use 1.5.0 reference frames. The FrameOfReference
class is replaced by the new ObserverFrame class, which is a wrapper for
ReferenceFrame. Small changes to a lot of file were necessary, in many cases
simply because the CoordinateSystem enum was moved from astro to
ObserverFrame. This change was primarily a refactoring to make future
development easier and improve performance be eliminating redundant
frame -> universal conversions of the observer position. The one change that
will be apparent to users is the redefinition of the chase and phase lock
frames. Previously, these used the spin axis of the reference object to define
the secondary frame axis. Now, the secondary axis is the position vector in
chase mode, and the velocity vector in phase lock mode.
2008-02-08 21:46:02 +00:00
Vincent Giangiulio 612f9fd596 Added name to markers 2008-01-02 23:52:31 +00:00
Toti b9763869fe Fixed initialization order warnings 2007-11-23 01:37:35 +00:00
Christophe Teyssier c60504c07a Moved pauseState from CelestiaCore to Simulation
Removed timeScale from CelestiaCore
Fixed pause behaviour with urls [bug 1819753]
Fixed track handling in urls when body with empty name exists [bug 1824833]
Fixed timeScale display in overlay
Added localization to numbers in flash messages
2007-11-03 09:49:29 +00:00
Toti afd7199bd8 Made object picking aware of renderflags 2006-12-05 17:38:14 +00:00
Chris Laurel 974213f905 Integrated changes from Fridger and Toti's Celestia FT 1.2 2005-11-18 09:00:39 +00:00
Christophe Teyssier 2318e423a3 Adding support for i18n with gettext. 2005-07-19 21:31:04 +00:00
Christophe Teyssier ed0a3aa3dd Added support for UTF-8 keyboard entry and completion of location labels. 2004-01-11 17:15:26 +00:00
Chris Laurel 3e4faed28d Christophe's orbit-center command: bring the selection to the center while keeping the reference object in view. 2003-09-10 16:22:51 +00:00
Chris Laurel 738b8faba4 Generalized 'paths' for the find and completion methods so that they can be any selection. This permits locations to be entered without specifying the parent body when either the parent body or a sibling location is selected already. 2003-08-11 08:51:50 +00:00
Chris Laurel 5dcded2080 Added goto methods that use a great circle trajectory. This is useful when moving the camera between surface locations, as it keeps the camera from going through the middle of a planet. Also did some cleanup on a few of the goto functions--still more required however. 2003-08-07 16:51:24 +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
Christophe Teyssier 1de258c1fb Completion patch 2003-05-31 10:55:44 +00:00
Chris Laurel 9975e027fb Added a synchronizeTime method 2003-03-11 09:59:20 +00:00
Chris Laurel a4612a54bc Added a symbol option for markers. 2003-02-25 08:03:27 +00:00
Chris Laurel 1cc1c5a5a1 Made time a property of the observer instead of the simulation. Added get/setSyncTime method to Simulation. By default, it's on, so time changes are broadcast to all observers. Currently, there's no UI support for disabling sync time. 2003-02-22 06:49:37 +00:00
Chris Laurel f1a01971e4 Implemented multiview; moved guts of Simulation into Observer. 2003-02-11 16:41:17 +00:00
Chris Laurel 925acb5586 Added priority for markers 2003-02-04 10:40:29 +00:00
Chris Laurel 7882c880d2 Implemented markers 2003-02-01 04:42:21 +00:00
Chris Laurel 6218428245 Added new DeepSkyObject base class for Galaxy and Nebula 2003-01-29 05:47:50 +00:00
Chris Laurel 019fb8f1aa Fixed compile warning 2003-01-06 17:54:49 +00:00
Fridger Schrempp 486399306f slight tuning of lookback command 2003-01-03 20:35:19 +00:00
Fridger Schrempp 970c4d3e7e method reverseObserverOrientation added 2003-01-01 23:51:19 +00:00
Chris Laurel 6258e21395 Fixed center function--Simulation::update() was normalizing a length zero
vector when from == to
2002-11-26 06:49:34 +00:00
Fridger Schrempp 471f97b6cb suppress fv printing because of AutoMag... 2002-09-22 14:52:38 +00:00
Chris Laurel b76601d186 Added getRealTime and getArrivalTIme methods 2002-05-02 07:58:00 +00:00
Chris Laurel f5a71a8949 Added precession rate to rotation elements 2002-04-04 20:24:41 +00:00
Chris Laurel 633fc91275 Added gotoLocation method 2002-04-02 06:39:58 +00:00
Chris Laurel af564ce989 Changed orbit() and changeOrbitDistance() so that they use the refObject rather than the selection 2002-03-22 19:18:01 +00:00
Chris Laurel 2740e598f9 Removed stupid printf 2002-03-19 20:34:29 +00:00
Chris Laurel fd75d26aa5 Improved rendering of highly elliptical orbits; fixed positioning of star and constellation labels. 2002-03-19 01:07:24 +00:00
Deon Ramsey 5fe978afde Bugfix for textEnter in UnixGTK, and new Labels 2002-03-15 21:42:29 +00:00
Chris Laurel 47aa2716dc Changed base units from light years to micro light years; added new label modes and label colors; added phase lock coordinate system. 2002-03-14 21:48:51 +00:00
Chris Laurel 125f3c8ccc Added a tolerance parameter to picking methods. 2002-01-24 00:50:47 +00:00
Chris Laurel ed2c7ea443 Cleaned up all FrameOfReference related code; added get/setTrackedObject methods to replace track() 2002-01-11 00:03:39 +00:00
Chris Laurel fd3b687dad Added setObserverPosition and setObserverOrientation methods; removed obsolete getSelectionPosition method. 2002-01-09 23:03:03 +00:00
Chris Laurel a0718055a7 Use the new Universe class. 2002-01-07 22:48:32 +00:00