Commit Graph

1422 Commits (5464388d28473c2b7cbd1c811fd094eb7d82145e)

Author SHA1 Message Date
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 37b964ab50 Always use jpeg and png libs, drop CGBuffer.h 2019-02-09 00:21:00 +03:00
Hleb Valoshka 6b0d6439ca Fix DPRINTF for OSX platform 2019-02-09 00:21:00 +03:00
Hleb Valoshka a185a83373 Cleanup definitions for jpeg and png support
No more support for ancient libpng
2019-02-09 00:21:00 +03:00
Hleb Valoshka cf9f0e0b45 Remove definitions for ancient compillers 2019-02-09 00:21:00 +03:00
Hleb Valoshka 08c74687cb Move disabled warning to CMakeLists.txt 2019-02-09 00:21:00 +03:00
Hleb Valoshka c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka d6b9e61e86 Fix (or disable) warnings produced by VS2015 2019-01-19 21:54:56 +03:00
pirogronian ba3f1f655c Untempletization of NameDatabase 2019-01-18 23:00:39 +01:00
Hleb Valoshka 085bfd6762 Add missing semicolon in shader definition (Closes: #203) 2019-01-17 12:34:27 +03:00
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
pirogronian 8c032924c7 Make dispositions general and use it in loadCategory. 2019-01-03 20:00:30 +01:00
pirogronian de2a2a892e I18n support for user defined categories via Lua and catalog files. 2018-12-30 17:23:48 +01:00
Hleb Valoshka c710412ba7 New planet parameters, core 2018-12-22 23:22:49 +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 7f23b726c4 Core mechanism. 2018-12-19 17:31:30 +01: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 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 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 39e5372dd2 [cmake] Don't install static libraries 2018-12-01 01:02:14 +03:00
Hleb Valoshka 7b8175eb5c [core,celx] Add ShowFadingOrbits renderer flag 2018-12-01 01:01:38 +03:00
Hleb Valoshka 549a646c67 Initial cmake implementation 2018-11-29 10:18:26 +03:00
Hleb Valoshka 0bd0b4e19c Pass SolarSystemMaxDistance to a renderer (Closes: #133) 2018-11-26 13:16:40 +03:00
Hleb Valoshka e75123bfd0 Remove hardcoded maximal distance from an observer to stars
Stars close that the distance are rendered as solar systems (e.g. with
their planets, orbits, Oort belts).
2018-11-26 13:16:40 +03:00
Hleb Valoshka d1830f2b90 Fix leap seconds
- the first one was on 1972/June/30
 - the last one was 2016/Dec/31 not 2015
2018-11-22 22:22:27 +03:00
Hleb Valoshka 8592f59246 Replace markers with the same priority 2018-11-22 22:22:27 +03:00
Hleb Valoshka a89e40a856 Add loadfragment script function instead of from_ssc (Closes: #126) 2018-11-21 20:30:37 +03:00
Hleb Valoshka 54b62b8fe0 Amend location types
large -> largeringed (less confusing name)
trench -> ring (we already have a trench-like feature)
2018-11-20 23:13:19 +03:00
Hleb Valoshka f13cb111e8 Make StarDetails::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka 07ed1e3061 Make Location::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka dcf7f4aa55 Return string ref in Body::getInfoURL 2018-11-19 23:29:19 +03:00
Hleb Valoshka 9d25ab249f Add from_ssc command for CEL scripts 2018-11-17 20:56:17 +03:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka b4ccb15c93 Add 4 custom location feature 2018-11-13 20:02:56 +01:00
Hleb Valoshka e92af93d08 Implement CEL/CELX methods to change texture of planet rings (Closes: #48) 2018-11-13 20:01:51 +01:00
Hleb Valoshka e40b9549a7 Allow to disable and enable planet rings (Closes: #47) 2018-11-13 19:59:17 +01:00