Commit Graph

339 Commits (bf1844a2f51477ce0fa39edf6c9a77de224a5150)

Author SHA1 Message Date
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
pirogronian 1495531a03 Typed text search: if not valid, submit first completion. 2019-03-26 21:24:21 +01:00
pirogronian 8490d93082 Restore name completion support. 2019-02-28 20:23:09 +01:00
pirogronian 55f67a8c44 Replace Greek letter before adding to database. 2019-02-28 20:23:09 +01:00
Hleb Valoshka 4bbce34d03 Kpc -> kpc 2019-02-14 21:08:06 +03:00
Hleb Valoshka c710412ba7 New planet parameters, core 2018-12-22 23:22:49 +03:00
Hleb Valoshka 03131d862c Make warnings more userfriendly 2018-12-02 16:24:33 +03:00
Hleb Valoshka dc8d537917 Remove useless code 2018-12-02 16:24:33 +03:00
Hleb Valoshka 6fcaadb207 Fix ~/.celestia.cfg reading 2018-12-02 16:24:33 +03:00
Hleb Valoshka 6ce95849fa [core] Continue loading if no DSO files are present 2018-12-01 01:02:14 +03:00
Hleb Valoshka 6a5acbcdb6 Fix format specifier for float number 2018-11-26 13:16:40 +03:00
Hleb Valoshka 02e920d703 Fix some QString -> std::string conversions 2018-11-08 11:06:17 +03:00
Hleb Valoshka 1fb9f82384 Add missing guards for spice code 2018-10-30 23:52:19 +03: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 9d050df592 Remove extra whitespaces in rotation perion 2018-10-18 21:51:03 +03:00
Hleb Valoshka 8685b114a3 Cleanup warnings found by clang++ 2018-10-18 21:50:41 +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 2cfebbadb4 Change time speed format
1) Without "'" modifier as fmtlib doesn't support it yet
  2) Decrease precision to 6
2018-10-17 22:19:03 +03:00
Hleb Valoshka e546a53e19 Refactor overlay image code to an own subclass 2018-10-13 22:47:18 +03:00
Hleb Valoshka 73a869c137 Use core OpenGL2 functions instead of their ARB versions 2018-10-07 20:45:01 +03:00
Hleb Valoshka 2ef2df3b80 Remove basic (OpenGL 1.0) render path 2018-10-07 19:39:33 +03:00
Hleb Valoshka 829a17d4ac Remove multitexture render path 2018-10-07 19:04:50 +03:00
Hleb Valoshka 0d7a20ea77 Remove GL VP render path 2018-10-07 19:03:14 +03:00
Hleb Valoshka 8a120b1e30 Remove GL1.5 VP & VP render path 2018-10-07 19:00:27 +03:00
Hleb Valoshka b4ab67be02 Remove Geforce FX render paths 2018-10-07 18:57:59 +03:00
Hleb Valoshka 0849e2658a Remove NV combiners render path 2018-10-07 18:54:55 +03:00
Hleb Valoshka 6b412b7a65 Remove unneeded includes of eigenport.h 2018-10-07 13:38:24 +03:00
Hleb Valoshka 27e39aa4c3 Use c.push_back instead of c.insert(c.end,...) 2018-09-22 23:42:03 +03:00
Hleb Valoshka 5097d204d0 Use c++11 timer 2018-09-22 23:42:02 +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 5a5b06481f Fix the most serious fixes found by coverity
… resource leaks, null pointers dereference
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
Dmitry Brant ff2455857a Upgrade code for 64-bit build in Visual Studio.
This updates the code to build for an x64 target.
- Provide prebuilt x64 static libraries.
- Update Windows dialog code for 64-bit support.
- Update libpng to 1.6.29.

Still a few issues:
- Sound (fmod) isn't working correctly in 64-bit.
2018-09-22 23:41:56 +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
Alexell ba086a746f Hotkeys and star color minor changes.
Added hotkeys for switching resolution textures [R] and [Shift+R], added
a screen message by pressing [Ctrl+X].  Star color switching commands
now have string values "blackbody_d65" and "enhanced", rather than
logical, as previously.
2018-08-11 21:51:49 +03:00
Alexell ebf939c513 Added "Star color" menu item
Added "Star color" menu item duplicate key command [Shift +%]. Fixed
"Help Guide" menu item error.
2018-08-11 21:42:53 +03:00
Vincent Giangiulio 58c4815768 Fixed i18n bug with scripting messages 2011-01-10 22:39:27 +00:00
Vincent Giangiulio 38b6e23c6f - Fixed i18n issue about truncated labels with East Asian locales: 2010-03-07 20:19:17 +00:00
Vincent Giangiulio 566679c187 Marked missing strings for gettext translation. 2010-02-22 19:41:10 +00:00
Chris Laurel f6d47c7ab6 Added mousemove hook for Lua scripts. 2009-12-02 21:51:06 +00:00
Chris Laurel 4a03b52617 Moved ephemeris files (subclasses of Orbit and RotationModel) into new celephem folder. 2009-11-02 20:30:18 +00: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
Chris Laurel bccf694deb Disabled the display of a planet's equilibrium temperature in the onscreen
info. The calculation is too simplistic to be useful, and it's not a
fundamental value on par with distance, size, etc.
2009-09-16 17:05:27 +00:00
Vincent Giangiulio 02fc9009b9 Fixed overlay text misalignment with the display of movie capture window 2009-08-31 21:50:12 +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 f5d97be5c9 More GLEW-related cleanup.
- Added missing GLEW_STATIC define to VC++ project file
- Fixed Qt4 build to use GLEW
- Stripped out more references to old glext functions
- Fixed miscellaneous compiler warnings.
2009-08-15 00:48:42 +00:00
Chris Laurel 78803c21e2 Text rendering fixes:
- Disabled multisampling when drawing the console. This should prevent text blurriness when running with antialiasing enabled (though it won't hep for supersampling modes)
- Reduce the number of calls to glTranslate() by tracking offset in software
2009-08-14 01:27:29 +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