Commit Graph

5560 Commits (19d36c0d2dba2ffc55eb5f9ac930be10182e43fa)

Author SHA1 Message Date
Hleb Valoshka f4bb2aba39 Fix matrix order in multiplication
Old vector library is row based, while Eigen is column based by default,
so matrix order should be swapped.
2019-01-04 21:10:21 +03:00
Hleb Valoshka a6e74a7676 Remove incorrectly placed ';' 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8df616c497 [qmake] Don't require unused XML library 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8daf8f07d4 [win] Undef libintl's replacement for printf family 2019-01-04 19:10:01 +03:00
pirogronian 8c032924c7 Make dispositions general and use it in loadCategory. 2019-01-03 20:00:30 +01:00
Hleb Valoshka f56c3a104b Add lua_isinteger for lua 5.1 and 5.2 2019-01-01 12:23:31 +03:00
Hleb Valoshka bca39dc424 Test builds with lua versions 5.1, 5.2, 5.3 2019-01-01 12:23:31 +03:00
Hleb Valoshka 23261fc623 Don't install celmodel.a 2019-01-01 12:23:31 +03:00
pirogronian 2e1a1e9be1 Add legacy OpenGL linking option 2018-12-31 20:37:20 +01:00
pirogronian de2a2a892e I18n support for user defined categories via Lua and catalog files. 2018-12-30 17:23:48 +01:00
pirogronian 2f7adf19d0 Replace deprecated QGLWidget with QOpenGLWidget 2018-12-27 23:06:53 +03:00
Hleb Valoshka 1d198c3b72 Celx methods for new parameters 2018-12-22 23:22:49 +03:00
Hleb Valoshka e2d7efd984 celxlua: add push(float) 2018-12-22 23:22:49 +03:00
Hleb Valoshka c710412ba7 New planet parameters, core 2018-12-22 23:22:49 +03:00
pirogronian 6befa417ff [Qt] Unmark action in selection popup & browsers. 2018-12-22 21:18:38 +01:00
pirogronian a2dba1e519 Some celx module fixes & improvements. 2018-12-22 14:15:49 +01:00
pirogronian e51b08f367 Lua method to bind custom translation domain. 2018-12-19 21:16:09 +01:00
Hleb Valoshka 4eabb17ba2 Fix application start on Windows 2018-12-19 19:47:23 +03:00
Hleb Valoshka 372ebfb4f5 Convert static variable to constexpr 2018-12-19 19:47:23 +03:00
Hleb Valoshka b02a1184d5 Move DSO_OCTREE_ROOT_SIZE definition to dsodb.h
It's required by render.cpp so we can't leave it in dsodb.cpp only
2018-12-19 19:47:23 +03:00
pirogronian 781541e329 Sample data. 2018-12-19 17:31:30 +01:00
pirogronian 7f23b726c4 Core mechanism. 2018-12-19 17:31:30 +01:00
pirogronian 8cb76495a6 Celx misc modernization & some internal fixes. 2018-12-17 08:24:15 +01:00
Hleb Valoshka fd058fb3f3 Fixes for Windows native frontend
Actual author is Janus
2018-12-11 22:32:32 +03:00
Hleb Valoshka 06ab3d8b2c Remove unneeded functions from GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka ea3988b6f3 Remove unused GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka dbd7090117 Make ShaderManager private property of Renderer 2018-12-11 20:32:13 +03:00
Hleb Valoshka 8aaf7fb205 Add missing files to CMakeLists 2018-12-08 02:26:37 +03:00
Hleb Valoshka 7931114b9f Fix new warnings
- warning: deleting object of polymorphic class type ‘Star’ which has
   non-virtual destructor might cause undefined behavior
   [-Wdelete-non-virtual-dtor]
 - enumeration value ‘Type_Generic’ not handled in switch [-Wswitch]
2018-12-08 02:06:16 +03:00
Hleb Valoshka 77d4fdc0f6 Check wchar_t in utf8 handling functions (Closes: #158) 2018-12-08 02:06:03 +03:00
Hleb Valoshka 35ff97a07a Mark some enums as uint32_t
By default enums are int, so 0xffffffff == -1. But those enums are used in
unsigned context so some compilers (Visual C++ at least) throw warnings.
2018-12-08 02:05:52 +03:00
Hleb Valoshka 514a948144 Return reference from getInfoURL() of DeepSkyObject and Location 2018-12-08 02:05:52 +03:00
Hleb Valoshka 91b783102d Remove static global std::string 2018-12-08 02:05:52 +03:00
pirogronian e5e229d472 Haschild method added, critical bug fixed, code cleanup. 2018-12-07 10:17:11 +01:00
pirogronian 3075323113 Fixes security issue and code quality improvements. 2018-12-07 10:17:11 +01:00
pirogronian e6e84d1ce3 User-defined categories. Core + Lua. 2018-12-07 10:17:11 +01:00
Hleb Valoshka fe955fbbc4 Minimal .travisci.yml 2018-12-03 12:13:02 +03:00
Hleb Valoshka ed9a13b92f Remove g_ShaderManager from globals
#150 is not reproducible any more
2018-12-02 23:49:34 +03:00
Hleb Valoshka d242bde6a8 Remove some static class members 2018-12-02 23:49:34 +03:00
Hleb Valoshka f7d6edd671 Remove global std::string variables in stardb 2018-12-02 23:49:34 +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 34ab3bd829 Update translations 2018-12-01 20:44:16 +03:00
Hleb Valoshka 7e498c0235 Update pot creation infrastructure 2018-12-01 20:44:16 +03:00
Hleb Valoshka 8f00c289f4 Ignore temporary files used to create pot files 2018-12-01 20:44:16 +03:00
Hleb Valoshka 04fa23b724 [cmake] install missing images 2018-12-01 01:02:14 +03:00
Hleb Valoshka 39e5372dd2 [cmake] Don't install static libraries 2018-12-01 01:02:14 +03:00
Hleb Valoshka afa60f72cb [glut] Show error message if simulation initialization failed 2018-12-01 01:02:14 +03:00
Hleb Valoshka 6ce95849fa [core] Continue loading if no DSO files are present 2018-12-01 01:02:14 +03:00