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
Hleb Valoshka
6e44de22f1
Fix home directory expansion in Windows
2019-10-09 15:55:14 +03:00
Hleb Valoshka
7fd01f38b0
Fix PVS Studio reported errors ( Closes : #425 )
2019-10-04 20:49:34 +03:00
Hleb Valoshka
b469511ce3
Use bolometric luminosity to calculate comet's tail fading
...
Closes : #405
2019-09-20 00:01:19 +03:00
Hleb Valoshka
198e067f75
Add a method to get star's bolometric luminosity
2019-09-20 00:01:19 +03:00
Hleb Valoshka
35106691a1
Fix virtual texture loading and VT code tiny cleanup
2019-09-06 11:28:23 +03:00
pirogronian
c0cc66e77d
Common stuff for shared classes.
2019-09-03 22:03:04 +02:00
laikh
3019e497e9
Use Ctrl+C and Ctrl+V to handle both the console copy-and-paste and the URL copy-and-paste
2019-09-02 21:18:02 +02:00
laikh
e2854c0698
Remove F5 F6 shortcuts for copy and paste to solve conflicts with setTargetSpeed
2019-09-02 21:18:02 +02:00
laikh
562dc24641
Fix debug compilation errors
2019-09-01 08:44:28 +08: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
56d2b8765a
bring menu handler change to gtk/win
2019-08-30 20:57:07 +08:00
Li Linfeng
eb51fa8228
adapt to context menu handler change
2019-08-30 20:57:07 +08:00
Li Linfeng
c986cdebf9
use handler for context menu callback
2019-08-30 20:57:07 +08:00
Hleb Valoshka
2aa162f0bb
[qt] Show more data about planets in infopanel
2019-08-29 12:56:58 +03:00
Hleb Valoshka
11897032d4
Fix some warnings
2019-08-27 23:54:27 +03:00
Hleb Valoshka
05faeee8a4
Mark overridden virtual function as "override"
2019-08-27 23:54:27 +03: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
3a17adb08a
Fix solar system browser item model
2019-08-27 22:45:39 +03:00
Hleb Valoshka
bcce84601c
[cmake] Link celcompat to celutil instead of celengine
2019-08-22 08:55:46 +08:00
Hleb Valoshka
0130655d87
[gtk] Don't call string() on strings
2019-08-22 08:55:46 +08:00
Hleb Valoshka
ca39d82b09
Reimplement DebugPrint using variadic templates ( Closes : #367 )
2019-08-22 08:55:46 +08:00
Li Linfeng
71ca974838
Replace the apple macro in qt project
2019-08-21 11:59:40 +03:00
Li Linfeng
c820617bb8
Use __APPLE__ in place of TARGET_OS_MAC
2019-08-20 10:19:42 +03:00
Hleb Valoshka
e66cff9800
Update win32's view options dialog
2019-08-16 20:10:48 +03:00
Hleb Valoshka
96f8b4a6ee
Add missing #ifdef CELX
2019-08-16 18:11:24 +03:00
Hleb Valoshka
48bef14233
Remove Directory class replaced with filesystem API
2019-08-16 18:11:24 +03:00
Hleb Valoshka
b6b543438d
Port to filesystem API
2019-08-16 18:11:24 +03:00
Hleb Valoshka
ceaed57aa5
Add a minimal C++17-like filesystem library
2019-08-16 18:11:24 +03:00
Hleb Valoshka
6d81fc780a
Add new and refactor existing char<->wchar routines for Win32
2019-08-16 18:11:24 +03:00
Hleb Valoshka
f05679db8e
Implement DPRINTF using fmt
2019-08-16 18:11:24 +03:00
pirogronian
c3567d820c
Replace refcounted objects with std::shared_ptr
2019-08-16 12:45:57 +03:00
Hleb Valoshka
2090a883d4
Initialize marker representations in constructor
2019-08-16 09:49:01 +03:00
Hleb Valoshka
1125957c83
Pass constant refs instead of objects to LookAt
2019-08-16 09:49:01 +03:00
Hleb Valoshka
deb23a7b80
Add a ::Color -> cmod::Material::Color helper
2019-08-16 09:49:01 +03:00
Hleb Valoshka
8cf30873fd
[gtk] Enable locales early
...
Based on a Debian's patch
2019-08-16 09:49:01 +03:00
Hleb Valoshka
f0c568dbf3
Rename variable mips to mip to fix compilation on mips64
...
Based on the patch from Debian
2019-08-16 09:49:01 +03:00
Hleb Valoshka
f8d3815a70
Move duplicated setVertexArrays to RenderContext
2019-08-16 09:49:01 +03:00
Hleb Valoshka
4d5f2d9c64
Convert raw pointers to std::unique_ptr in ModelGeometry
2019-08-16 09:49:01 +03:00
Li Linfeng
37cab4140b
Use const char * on debug print
2019-08-16 09:39:03 +03:00
Hleb Valoshka
4fcfa1dfe3
Rename ODMenu.* to lowercase
2019-08-13 11:25:15 +03:00
Hleb Valoshka
4af3d88925
Fix compilation errors with mingw-w64 5.0.0
2019-08-13 11:25:15 +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
Li Linfeng
2c92aee13a
Fix backspace on qt osx
2019-08-12 15:56:40 +03:00
Li Linfeng
6617d94672
Remove unused code
2019-08-07 12:15:32 +03:00
Li Linfeng
8743edad9e
Use relative path on tools
2019-08-07 12:15:32 +03:00
Li Linfeng
589face93e
Use relative path for data and config on macOS platform
2019-08-07 12:15:32 +03:00
Li Linfeng
19d36c0d2d
Setup macOS bundle for celestia-qt
2019-08-07 12:15:32 +03:00
U-DESKTOP-5KURQFU\dlshc
ad8eda79f4
Fix MinGW build and add instruction
2019-08-07 12:14:42 +03:00