Commit Graph

5796 Commits (master)

Author SHA1 Message Date
Hleb Valoshka 24bce0bb82 [qt] Fix incorrect eclipse display time (Closes: #321) 2019-07-18 22:52:16 +03:00
Hleb Valoshka 7b095b8151 Reimplement globular clusters using GLSL 2019-07-10 23:43:15 +03:00
Hleb Valoshka 93c4a3b55c Add celmath::clamp(val, low, high) 2019-07-10 23:43:15 +03:00
Hleb Valoshka 74144a85bc Remove forgotten files for ancient hardware 2019-07-09 23:38:41 +03:00
Hleb Valoshka a93befe941 Remove uneeded #include "vecgl.h" 2019-07-09 23:38:41 +03:00
Hleb Valoshka de1a8d181e Remove unneeded celengine/celestia.h 2019-07-09 23:38:41 +03:00
Hleb Valoshka 7d4f03d5fb [win32] Add helper dlgCheck for 64-bit values
bad but working
2019-07-09 23:38:21 +03:00
Hleb Valoshka da32a3318c [cmake] Call configure_file after check_include_files 2019-07-09 00:53:22 +03:00
Hleb Valoshka 2250dd9c23 [win32] Update registry key, fix uint64_t saving 2019-07-09 00:53:04 +03:00
Hleb Valoshka e7aaee0ec8 Fading orbits in Win32 and Gtk2 frontends 2019-07-08 17:29:46 +03:00
Hleb Valoshka c07c36e70c [qt] Make DSO filter nonexclusive (replace QRadioButton with QCheckBox) 2019-07-08 17:19:21 +03:00
Hleb Valoshka 6295f4d1af [qt] Solar system filtering 2019-07-08 17:19:21 +03:00
Hleb Valoshka a1bdca280a Make VisibleRegion more GL2-friendly 2019-07-07 22:24:59 +03:00
Hleb Valoshka 96c22fbe8e Add simple shaders for color and texture 2019-07-07 22:24:59 +03:00
Hleb Valoshka a90570e36a Allow updates of VertexObject and mark some methods as noexcept 2019-07-07 22:24:59 +03:00
Hleb Valoshka 6712b90d84 Utility method to calculate memory size to store a container data 2019-07-07 22:24:59 +03:00
Hleb Valoshka 845990a91a Fix virtual methods definition for DSO, make some methods private 2019-07-07 12:10:21 +03:00
Hleb Valoshka a10da37741 Return correct type from DeepSkyObject::getRenderMask()
More correctly is to return Renderer::RenderFlags, but this require big
render.h refactoring.
2019-07-07 12:10:21 +03:00
fuse b11cd25553 Use vertex buffer when displaying orbits 2019-07-02 15:07:13 +03:00
Hleb Valoshka 5389cd7c4f Allow arbitrary attributes in VertexObject 2019-07-02 10:29:31 +03:00
Hleb Valoshka 239063306c Add a method to get arbitrary attribute location 2019-07-02 10:29:31 +03:00
Hleb Valoshka 5f9fa3c2d4 Add Mat3/4ShaderParameter classes 2019-07-02 10:29:31 +03:00
fuse 76252c86e5 Fix assert in Renderer::renderMarker 2019-06-28 17:30:59 +03:00
Hleb Valoshka 30c686c028 Markers reimplemented using modern GL 2019-06-25 23:03:30 +03:00
Hleb Valoshka 852874b32f Add frame capture function to Renderer 2019-06-24 23:58:30 +03:00
Hleb Valoshka ec7b1acec9 Update jpeg/png headers in imagecapture.cpp as in image.cpp 2019-06-24 23:58:30 +03:00
Hleb Valoshka dc457430dc Install GLSL shaders 2019-06-24 12:12:18 +03:00
Hleb Valoshka e9ef0f7e57 Port starfield to static shaders 2019-06-21 13:57:04 +03:00
Hleb Valoshka 9745b125f3 Support for static shaders in ShaderManager 2019-06-21 13:57:04 +03:00
Hleb Valoshka b09b48b1ab Disable GLContext usage as it does nothing now 2019-06-20 13:03:02 +03:00
Hleb Valoshka 0dbd19be9f Fix random abnormal termination when enabling RefAxes (Closes: #302) 2019-06-20 13:02:45 +03:00
Hleb Valoshka 2475a7f1b3 Make a few methods const 2019-06-20 13:02:27 +03:00
Hleb Valoshka e255a34c7a Initialize some variables 2019-06-20 13:02:27 +03:00
Hleb Valoshka c17493885f Fix memory leaks 2019-06-20 13:02:27 +03:00
Hleb Valoshka 0e2ee08c42 Use fmt::printf instead of iostreams 2019-06-20 13:02:27 +03:00
Hleb Valoshka 7a3cfbc320 Port axisarrow to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka 6e35410715 Port asterisms to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka b9575c70eb Port boundaries to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka f300827de4 Add VBO/VAO wrapper class 2019-06-17 18:20:20 +03:00
Hleb Valoshka bb533bbbf7 Fix code guarded by #ifdef HDR 2019-06-17 18:19:56 +03:00
Hleb Valoshka c95fe7ee0f Fix bool usage in Body 2019-06-17 18:19:56 +03:00
pirogronian 9dbdf29c4a Fix typo in DSO octree debug macro. 2019-06-06 12:27:22 +02:00
Hleb Valoshka a401969268 [cmake] Disable GLUT frontend by default 2019-06-06 11:58:28 +03:00
Hleb Valoshka 9f6cdadee3 Drop support for ancient Lua 5.0 2019-06-06 11:58:28 +03:00
Hleb Valoshka b59a25508d [cmake] Fix USE_SPICE macro definition creation
Taken from https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-USE_SPICE.patch?expand=1
2019-06-04 17:28:32 +03:00
Hleb Valoshka 6ff875dab3 [qt] Open wikibook instead of local manual
... as we don't have local manual

Based on https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-manual-file-url.patch?expand=1
2019-06-04 17:27:56 +03:00
Hleb Valoshka d4ac931da9 Skip CI builds with Lua 5.2
basically 5.1 & 5.3 are enough
2019-05-31 11:15:30 +03:00
Hleb Valoshka b705597b9d Use LuaJIT on all platforms if available 2019-05-31 11:15:30 +03:00
Hleb Valoshka b10d6b04c4 Add CMake module for LuaJIT 2019-05-31 11:15:30 +03:00
Hleb Valoshka 1fe8dd37c9 Move Win32 definitions to the common location 2019-05-27 00:53:21 +03:00