Commit Graph

191 Commits (3f88f6f3535af82111b000e2f0039ea188e3fdd2)

Author SHA1 Message Date
Fridger Schrempp 08cd1d8184 implement distance sorted DSO label display 2005-12-11 15:35:53 +00:00
Pat Suwalski f184e0a8fa Added curly brackets back.
"So that's what those were for!"
2005-12-05 19:04:06 +00:00
Pat Suwalski a780595fd3 Added code necessary for GalaxyLightGain getting/setting. 2005-12-05 06:42:43 +00:00
Chris Laurel 40c03fe909 Added getDescription method to DeepSkyObject class for returning more detailed information about an object than just its type. 2005-11-21 18:15:01 +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 3934012e8f Permit the time scale to be modified while paused. 2005-11-17 07:52:28 +00:00
Chris Laurel 41a161fd80 Eliminated extraneous comma when printing the year. Locale numeric properties needed to be set to default when displaying the date. 2005-11-14 03:16:06 +00:00
Chris Laurel 685a47be12 Fixed reversed key bindings for adjusting galaxy brightness. 2005-07-21 16:34:37 +00:00
Christophe Teyssier 2318e423a3 Adding support for i18n with gettext. 2005-07-19 21:31:04 +00:00
Chris Laurel 17d1a258df Display large distances in units of kiloparsecs or megaparsecs (Joseph Wang) 2005-07-18 17:20:52 +00:00
Chris Laurel f749f975a0 Also update the frame rate count every 10 seconds instead of only after every 100 frames have been rendered. This is helpful when the frame rate is very low (from Joseph Wang) 2005-07-18 16:54:48 +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
Christophe Teyssier 069e574054 Corrected a couple of bugs which made history navigation unusable. 2005-03-09 22:46:30 +00:00
Chris Laurel a3bcd5f7fa Bound ^ key to toggle nebula on and off (now separate from galaxies) 2005-03-09 16:30:31 +00:00
Christophe Teyssier 206d29fa00 Added support for user level celestia.cfg file and filename expansion
on Unix.
2005-03-05 14:56:14 +00:00
Harald Schmidt 04286a0d84 Fixed bug in singleview when being called with non-NULL parameter (i.e. from CELX code) 2005-01-21 17:44:44 +00:00
Hank Ramsey 4570dd005f inserted workarounds for macosx build 2004-12-18 23:02:53 +00:00
Chris Laurel 879052f903 Fixed incorrect associations of TYC numbers with SAO and HD catalog numbers. 2004-12-08 06:39:10 +00:00
Chris Laurel 2168046eb3 Protected against buffer overflow (and resulting crash) that occurred when displaying the luminosity of stars with very high absolute magnitudes. 2004-11-12 08:31:44 +00:00
Chris Laurel b864a016ce - Added a StarCatalogs fields to celestia.cfg, allowing .stc files to be loaded from the data directory.
- Eliminated slew of float/double type conversion warnings in celestiacore.cpp.
2004-11-02 07:57:19 +00:00
Chris Laurel 6f8031d387 Turned on OpenGL 2.0 / GLSL render path. 2004-10-15 09:55:12 +00:00
Chris Laurel 40bdb9a86c Use brown dwarf texture for spectral types L and T. Get rid of texture on black holes so that they are rendered as featureless black spheres. 2004-10-10 02:06:16 +00:00
Chris Laurel 3167f31c75 Added rotation elements and ellipsoid shape for stars. 2004-10-07 17:53:31 +00:00
Chris Laurel 4e69c6998b Added special handling for star barycenters to the UI. 2004-10-02 17:26:02 +00:00
Chris Laurel 3524450c51 Allow custom meshes and textures for stars defined in .stc files. 2004-09-21 17:37:17 +00:00
Chris Laurel 1ae63147ce Updated code for revision to Star class. Places in the code which used to use getStellarClass() to get a spectral type string now use getSpectralType method. 2004-09-20 03:29:34 +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
Chris Laurel eac8e4d4c6 Minor bug fix: log console was displaying wrong line of text after scrolling entire buffer. 2004-07-29 07:55:59 +00:00
Harald Schmidt d133e6138c Moved code to resume/tick script to celx.cpp 2004-06-05 13:14:00 +00:00
Chris Laurel 63d4497587 Added to the config file rendering detail options for orbits, shadows, and rings. 2004-03-15 18:42:35 +00:00
Chris Laurel e65a9d5088 Fixed Linux compilation problems:
- Disambiguated call to pow in render.cpp
- In celestiacore.cpp, protected a reference of celxScript with #ifdef CELX
so that we still build without Lua support.
2004-03-12 18:01: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 388b2548ae Changed the spacebar function to pause a script as well as time. Time may still be paused alone with Shift+Spacebar. 2004-03-10 23:37:10 +00:00
Christophe Teyssier 0f3cc71548 Moved the Greek letter class from celengine/starname to celutil/utf8.
Added Greek Letter replacement to location entry, completion list, popup
      dialog (KDE), and celestial browser (KDE).
2004-03-08 16:32:26 +00:00
Chris Laurel 04bccf0438 Allow Celestia to be started without stars.dat. 2004-03-03 07:55:01 +00:00
Chris Laurel 329aa57aa9 Display Bayer designations with Greek letters 2004-02-28 09:30:17 +00:00
Christophe Teyssier 60a854c040 Notify watchers when navigating in history. 2004-02-26 23:40:29 +00:00
Chris Laurel ecbcd46f1d Fixed text positioning bug--glPushMatrix/glPopMatrix around text input display had been commented out. 2004-02-19 09:23:07 +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
Christophe Teyssier e22b585a57 Fixed small bug in displayApparentDiameter 2004-02-01 15:40:32 +00:00
Chris Laurel e975b7a24b Fixed apparent diameter calculation to assume a spherical rather than planar object. 2004-01-31 20:37:41 +00:00
Christophe Teyssier 35fef95f1e Fix to allow spaces in selection input. 2004-01-26 20:15:38 +00:00
Harald Schmidt e61c9e1b31 Added access to MultiViews for Lua-scripts. 2004-01-20 01:53:56 +00:00
Christophe Teyssier 8b3f9e3548 Changed charEntered('\b') to use the Selection::parent method. 2004-01-17 18:15:17 +00:00
Christophe Teyssier 314632a6c0 Modification of behaviour of the backspace key.
If the selection is a location, selects the parent body
If the selection is a body, selects the parent body or star
If the selection is a star, clears the selection.
2004-01-13 22:58:06 +00:00
Harald Schmidt 2640e72a2b Fixed Lua-keyboard-input to use UTF-8. Added cleanup-handler for scripts. 2004-01-12 08:55:28 +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