Hleb Valoshka
e3baaad767
Big common application code refactoring
...
* Allow to parse four element vectors
* Allow colors defined in HTML notation (#rrggbbaa)
in CEL scripts
* Refactor Overlay::Rectangle to an independent class
* Refactor CelestiaCore::OverlayImage to an independent class
* Refactor CelestiaCore::View to an independent class
* Rename Renderer::getScreenSize to getViewport
* Add wrappers for scissors test and MSAA control
2019-10-09 15:55:14 +03:00
Li Linfeng
9c371c891c
define macros for print levels and avoid direct use of fmt::printf
2019-08-31 13:32:44 +08:00
Li Linfeng
c986cdebf9
use handler for context menu callback
2019-08-30 20:57:07 +08:00
Hleb Valoshka
efc4810104
Don't abort if extras directory doesn't exist ( Closes : #376 )
2019-08-27 23:43:46 +03:00
Li Linfeng
c820617bb8
Use __APPLE__ in place of TARGET_OS_MAC
2019-08-20 10:19:42 +03:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +03:00
laikh
cfdda11bf6
Move cmdparser.*, command.*, and execution.* from celengine to celestia, modify celephem to OBJECT library and merge the objects in the celengine library, fix Spice dependency
2019-08-13 11:24:37 +03:00
Gitea
cfc225adc7
Refactor Overlay::rect() to use instead of direct GL calls
2019-08-02 14:34:25 +03:00
Hleb Valoshka
ba0b39fdff
Fix overlay image replacement and style cleanups
2019-08-02 14:34:25 +03:00
Hleb Valoshka
b09b48b1ab
Disable GLContext usage as it does nothing now
2019-06-20 13:03:02 +03:00
Hleb Valoshka
f3a73dae71
Move math code into celmath namespace
2019-05-20 10:48:04 +03:00
pirogronian
29beca06ad
Restrict feature do OCTREE_DEBUG flag + some polishing.
2019-05-02 13:57:42 +02:00
pirogronian
b6f025abd3
Added debug octree stats, visible together with fps counter.
2019-05-02 13:57:42 +02:00
Hleb Valoshka
920a0c81b1
Remove unused and unneeded ringSystemSections option
2019-04-22 21:21:05 +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