Hleb Valoshka
bd7f9ebc9b
Use libepoxy instead of GLEW
...
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka
f67b331f02
Show error if an incorrect URL passed to CelestiaCore::goToUrl
2020-03-07 15:40:39 +03:00
pirogronian
1ebc427f41
Transform CatEntry into AstroObject with minimal common indexing rountines.
2020-03-06 18:11:53 +01:00
Hleb Valoshka
6eaa915873
Don't abort if starnames.dat has not been loaded
...
Closes : #625
2020-03-04 19:52:28 +03:00
Hleb Valoshka
fb4bede3d1
Allow building without NLS
2020-02-15 00:20:13 +03:00
Hleb Valoshka
6969373ec4
Add and use time-related helper methods
2020-01-25 11:50:28 +03:00
Hleb Valoshka
739f71cd1c
Cleanup includes a little bit
2019-12-21 19:16:39 +03:00
Hleb Valoshka
26063bf3a6
Use shaders to draw fonts
2019-12-21 19:16:39 +03:00
Hleb Valoshka
bb1f3aefe5
Add support for body mass units ( Closes : #513 )
2019-12-05 11:37:45 +03:00
Hleb Valoshka
99c3e50a18
Fix distance display for m and km units
2019-12-05 11:37:45 +03:00
Hleb Valoshka
682aef8422
Initial implementation for TrueType fonts support
2019-11-20 12:16:15 +03:00
Hleb Valoshka
7c593f366f
Fix compilation without CELX
2019-10-26 00:59:03 +03:00
Li Linfeng
5342437c79
fix space between star/dso name and description
2019-10-21 14:42:09 +08:00
Hleb Valoshka
097d7113e2
Provide a common method to save screenshots
2019-10-19 17:47:31 +03:00
Hleb Valoshka
2c2a17aa0a
Implementation of the new interface for legacy scripting
2019-10-19 13:17:32 +03:00
Hleb Valoshka
dfd177ffc7
Implementation of the new interface for Lua scripting
2019-10-19 13:17:32 +03:00
Hleb Valoshka
3cb4d3154d
Make options maps common to all scripts
2019-10-18 12:13:48 +03:00
Hleb Valoshka
9401a4389e
Move scripts to their own subdirectories
2019-10-17 21:21:12 +03:00
Li Linfeng
7cff1728a3
fix warnings
2019-10-14 17:41:03 +08:00
Hleb Valoshka
17db71b97f
Remove hard-coded startup logo ( Closes : #417 )
2019-10-09 15:55:14 +03:00
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