Hleb Valoshka
98833e96bd
wip
2019-04-16 12:51:05 +03:00
Hleb Valoshka
54bec3aa17
wip
2019-04-15 19:26:01 +03:00
pirogronian
044f5392b5
Add getter/setter for search console typed text.
2019-03-28 09:05:04 +01:00
Hleb Valoshka
6fcaadb207
Fix ~/.celestia.cfg reading
2018-12-02 16:24:33 +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
1e80930a6d
Use Eigen::Vector*::Unit*() and Eigen::Vector*::Zero() here and there
2018-11-08 11:06:17 +03:00
Hleb Valoshka
e546a53e19
Refactor overlay image code to an own subclass
2018-10-13 22:47:18 +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
e49c61c90e
Extend fatalError() to use flash() and use it instead of alerter
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
Alexell
d149798b86
Added new cel/celx commands
...
cel: verbosity and overlay.
celx: celestia:overlay and celestia:verbosity.
Thanks to Vincent Giangiulio.
2018-09-22 17:08:06 +03:00
Vincent Giangiulio
debc9f3965
Added new scripting command to set the text color:
...
- settextcolor / gettextcolor added to celestia object in CELX scripting
- settextcolor added to CEL scripting
2009-11-01 19:18:35 +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
6a1b6b5ae8
More Eigenization:
...
- Fixed build break in render.cpp
- Converted code in parseobject.cpp and celestiacore.cpp to use Eigen
- Cleaned out unused code
2009-08-07 16:50:58 +00:00
Chris Laurel
9cf68b5169
Eigenized parser and app core code.
2009-07-25 22:18:51 +00:00
Andrew Tribick
149959f8b2
Fixed some compiler warnings when building under gcc 4.3.
2009-01-26 20:49:35 +00:00
Vincent Giangiulio
f2e9fe9889
Added makeactiveview method to observer object in celx scripting.
2008-09-16 22:08:15 +00:00
Christophe Teyssier
1b3a6baa00
Patch from Julien Woillez. Fixes a memory leak in multiview handling
2008-08-29 18:33:59 +00:00
Chris Laurel
e4a28ef68a
Implemented more flexible system for reference marks. Reference mark objects lists are maintained instead of simple bitfields, allowing customization of reference mark parameters (e.g. arrow size, planet grid style, etc.) There are three new reference mark types: planetographic grid, spin vector, and body-to-body vector. The Qt4 and Win32 front ends have been updated; Gtk, KDE, and Mac interfaces need to be updated to use the new code for toggling reference marks.
...
This change also includes a fix for two problems with Replace:
- objects were being reordered so that selection with the 1-9 keys no longer worked as expected.
- children of Replaced bodies were being deleted
2008-03-20 21:36:17 +00:00
Christophe Teyssier
be1a0b9301
New Date/Time formating
2008-01-07 23:27:43 +00:00
Chris Laurel
a90c13bfbe
Added code to skip rendering when the viewer isn't moving and no changes have been made to render state. Currently disabled.
2007-11-15 20:22:46 +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
Vincent Giangiulio
24287ddaaa
- Made Celestia display "Alt-azimuth mode enabled/disabled" when CTRL+F is pressed..
...
- Added getAltAzimuthMode/setAltAzimuthMode methods.
2007-05-18 20:14:38 +00:00
Chris Laurel
e71ef75190
ScriptedOrbit and ScriptedRotation changes:
...
- ScriptedOrbits/Rotations now will only share a context with the Lua hook when the ScriptSystemAccessPolicy is allow. Otherwise, they will run in a safe 'sandbox' context
- It is no longer necessary to have a Lua hook in order to use ScriptedOrbits/Rotations
- Clean up Lua state objects in CelestiaCore destructor
2007-05-13 03:41:07 +00:00
Vincent Giangiulio
dddabbeeef
Added new CELX commands :
...
- celestia:setoverlayelements / celestia:getoverlayelements (set/get the elements displayed in the overlay text among Time, Velocity, Selection, Frame)
- celestia:getfont() returns the file that is defined for Font in the configuration file.
- font:getwidth(string) returns the width of a string (in pixels) in the specified font.
2006-11-21 21:26:59 +00:00
Christophe Teyssier
d53158ec34
Fixed build break with g++
2006-11-20 22:38:31 +00:00
Chris Laurel
0c3d8a608b
Celx scripting updates:
...
- Integrated Hank Ramsey's Lua hook code
- Added some more Lua 5.1 compatibility fixes
2006-11-20 10:59:12 +00:00
Chris Laurel
010b300e97
Implemented event handlers for Lua scripts. For now, the supported events are key, mouseup, mousedown, and tick.
2006-06-01 16:42:59 +00:00
Chris Laurel
83f9f6b2d9
Added hooks for a progress notifier when loading data files.
2005-12-29 09:31:41 +00:00
Pat Suwalski
a780595fd3
Added code necessary for GalaxyLightGain getting/setting.
2005-12-05 06:42:43 +00:00
Chris Laurel
6d6624ae6b
- Added --config command line parameter to allow an alternate configuration file to be loaded.
...
- Added new key bindings to adjust galaxy brightness: { and } (we should probably move toward a universal 'exposure' setting for stars, galaxies, and everything else, but this will do for the time being)
2005-07-13 09:37:50 +00:00
Chris Laurel
bcfcfe45cf
Added a new command line option --extrasdir for specifying add-ons directories in addition to the ones in celestia.cfg. This currently only works on the Windows version, because Celestia's command line parsing is currently handled in platform-specific modules.
2005-06-02 07:52:31 +00:00
Christophe Teyssier
05dc3c3b60
Added a celestia:gettextwidth CELX method to retreive the width of a string
...
(as rendered by celestia:print.)
Result is returned in pixels, not em units.
2005-04-03 19:39:52 +00:00
Chris Laurel
f1d7f7dcf0
- Added extended info field to Star class
...
- Implemented star catalog cross indexes
- Use a cross index to store HD catalog numbers instead of storing them directly in Star instances
2004-09-09 07:34:50 +00:00
Harald Schmidt
d133e6138c
Moved code to resume/tick script to celx.cpp
2004-06-05 13:14:00 +00:00
Harald Schmidt
98a723748d
Made notifyWatchers public to allow scripting code to call it when necessary.
2004-04-23 11:47:01 +00:00
Chris Laurel
c538f4c9d3
- Removed Windows API call from celestiacore.cpp
...
- Added modifiers argument to CelestiaCore::charEntered()
- Changed space key to stop scripts only when a script is actually running.
2004-03-12 10:36:51 +00:00
Don Goyette
37a262b4b2
Added scriptPaused.
2004-03-12 00:58:28 +00:00
Christophe Teyssier
b7175e6bd1
Added mouse cursor change over view borders.
2004-02-15 01:33:25 +00:00
Harald Schmidt
7f2247b6f1
Changed handling of script-startup, now using runScript().
2004-02-13 18:39:41 +00:00
Harald Schmidt
e61c9e1b31
Added access to MultiViews for Lua-scripts.
2004-01-20 01:53:56 +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
Harald Schmidt
46d3574fcb
Added keyboard-input for Lua-scripting.
2004-01-09 20:19:47 +00:00
Chris Laurel
b66b9e4098
Added getConfig method
2003-12-04 18:35:05 +00:00
Chris Laurel
15b2827a35
Added a log console
2003-09-02 16:37:01 +00:00
Chris Laurel
0d1a77ea6f
Implemented orbit function via the keyboard: shift+arrow keys may be used to orbit the reference object. In order for this to operate, the platform-specific front-end must sent down a bit field of modifiers to keyUp/keyDown methods.
2003-07-19 05:46:57 +00:00
Christophe Teyssier
7cfc5cb4c9
Completion patch
2003-06-03 21:42:33 +00:00
Christophe Teyssier
1de258c1fb
Completion patch
2003-05-31 10:55:44 +00:00
Chris Laurel
141f2429a9
Added getAlerter method
2003-05-05 03:24:43 +00:00
Fridger Schrempp
91ab50bf79
improve light travel delay
2003-05-01 16:36:09 +00:00