Commit Graph

5560 Commits (19d36c0d2dba2ffc55eb5f9ac930be10182e43fa)

Author SHA1 Message Date
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
Hleb Valoshka eb86cab106 Simplify the main CMakeLists.txt 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2486554514 Explicitly load FPHSA in FindCspice.cmake 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2b275cee37 Fix two MSVC C4305 warnings
double to float truncation
2019-05-20 10:48:04 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka 440f34350c Remove celmath::log2 as it's defined in C++11 2019-05-20 10:48:04 +03:00
Hleb Valoshka 88fe409d21 Enable compilation with unsafe fast math option 2019-05-17 18:27:40 +03:00
Hleb Valoshka dc6e86edbf Remove old EclipseFinder API and cleanup 2019-05-06 23:08:28 +03:00
Hleb Valoshka 7472122e38 Port Win32 frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1d0b0abce0 Port Gtk+ frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka f031745020 Replace QtEclipseFinder with EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka ccb39d3342 Add new API to EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1af23318fd Remove a makefile superseded by cmake 2019-05-06 23:07:57 +03:00
Hleb Valoshka ad15f2ffa0 [cmake] Fix macro name in the error meesage 2019-05-06 23:07:57 +03:00
Hleb Valoshka 0972f8a269 Move src/buildstardb.cpp to src/tools/stardb and remove src/tools/buildstardb.cpp
The latter is an older version of the former
2019-05-06 23:07:57 +03:00
Hleb Valoshka a968fadb5f [cmake] Disable tools by default but enable in CI 2019-05-05 18:04:45 +03:00
Hleb Valoshka 407e669747 [cmake] Cleanup the main CMakeLists.txt 2019-05-05 18:04:45 +03:00
Hleb Valoshka d36e8bdeac Fix copy-paste error 2019-05-05 16:50:35 +03:00
Hleb Valoshka 242c5ad84d Fix build directory in VC++ 64 bit 2019-05-05 16:50:35 +03:00
Hleb Valoshka 06ca2c5fec Add scripts for manual building under windows 2019-05-03 14:24:56 +03:00
Hleb Valoshka 0a5840ca1c [docs] Update installation instructions 2019-05-03 14:24:56 +03:00
Hleb Valoshka 78641736fd Replace sscanf with C++11 methods where appropriate 2019-05-02 22:58:37 +03:00
pirogronian 226f1ee793 Additional code hide behind OCTREE_DEBUG flag. 2019-05-02 13:57:42 +02: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 87963a6a42 Fix display of surface features and diffuse objects
Surface features will be shown only if their parent body is visible.

Diffuse objects are shown always
2019-05-02 13:26:55 +03:00
Hleb Valoshka 920a0c81b1 Remove unused and unneeded ringSystemSections option 2019-04-22 21:21:05 +03:00
Hleb Valoshka a426916e2a Get rid of immediate mode in ring rendering
nSections was hardcoded to 100 so I removed it from renderRingSystem
2019-04-22 21:21:05 +03:00
Hleb Valoshka e80b06e67e [win32] remove __iob_func
* we prefer vcpkg libraries build using the same compiler
* VC++ 2017 is ABI compatible with 2017: https://docs.microsoft.com/en-gb/cpp/porting/binary-compat-2015-2017?view=vs-2019
2019-04-12 17:09:58 +03:00
Hleb Valoshka 7ad6b37970 [cmake] refactor build_cmod_tool macro to allow WIN32 targets 2019-04-12 17:09:58 +03:00
Hleb Valoshka 7bc9bcd674 [cmake] Update compile options for MSVC
/bigobj is required when using Ninja
2019-04-12 00:53:18 +03:00
pirogronian e422fe5e87 Fix ReplaceGreekLetterAbbr overvoracity. 2019-04-09 13:09:07 +02:00
pirogronian fa582dd10b Fix Bayer notation parsing & matching regresion. 2019-04-09 13:09:07 +02:00
Hleb Valoshka df23c60e7a Fix alignment issues in CELX routines (Closes: #263) 2019-04-08 22:02:53 +03:00
Luke McCrone 10875c4569 Issue #251: removing Alpha Centauri Bb 2019-04-08 12:08:04 +03:00
Hleb Valoshka 53845ad72e Add min() macro definition
It's not defined in MSVC and not supported by C standards
2019-04-08 12:07:43 +03:00
Hleb Valoshka 6bc84833be [cmake] Instal perl tools 2019-04-08 12:07:43 +03:00