Alexander Bock
c02e59b9f8
Fixing more includes and forward declarations ( #3876 )
2025-12-16 13:40:19 +01:00
Alexander Bock
820e90eab4
Happy new year
2025-01-14 16:21:08 +01:00
Emma Broman
68c2157dd4
Move Exoplanet creation code from C++ to Lua ( #3450 )
...
* Move exoplanet creation code to Lua
* Add more descriptions and handle missing values
* Remove old creation function and move load from CSV to Lua
* Properly document all functions, including a type for the `systemData` return value
* Add `\param` documentation to the scripts
* Cleanup and move helper functions to core scripts
* Throw Lua errors when things go wrong, instead of returning empty objects
This prevents the rest of the code from being run
* Flesh out TODO comments, so future us know why they are there
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se >
2024-10-21 09:30:18 +02:00
Alexander Bock
4328476d26
Use more filesystem::path where applicable
2024-04-06 23:55:59 +02:00
Gene Payne
6146cf16b2
Merge-in all updates from master
2024-03-25 18:35:57 -06:00
Alexander Bock
49fc538c17
Rename fmt.h to format.h and enable audio module on default
2024-03-25 23:19:52 +01:00
Alexander Bock
3ba346a227
Remove fmt::format and replace with std::format
2024-03-24 20:19:14 +01:00
Alexander Bock
2759c00e4b
Pass through the code to address clang-tidy linting ( #3083 )
2024-03-17 00:58:50 +01:00
Alexander Bock
9a6fe47d17
Fix up text formatting as path's no longer get quoted
2024-03-08 20:19:06 +01:00
GPayne
210e17b0bb
Replaced std::getline usages with new ghoul::getline
2024-03-04 15:37:21 -07:00
Alexander Bock
6e29d898cf
Update copyright header
2024-02-06 15:53:24 +01:00
Emma Broman
1f32394fb2
Issue/2225 - Add exoplanets from a CSV file ( #2846 )
...
* Make reading exoplanet data from CSV during runtime work
* Add function descriptions
* Clarify an info message
* Initialize all data parameters with NaN, to prevent unpredictable values when a parameter is not included in the dataset
Co-authored-by: Alexander Bock <alexander.bock@liu.se >
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se >
2023-08-18 16:32:56 +02:00
Emma Broman
68c1b34e7c
Add missing std namespace to getline function
2023-06-09 11:38:50 +02:00
Emma Broman
4de3713107
Add a central function to create an identifier from string, and also expose it through Lua
2023-04-03 11:40:19 +02:00
Alexander Bock
4f4764209f
Happy new year
2023-01-02 11:19:33 +01:00
Alexander Bock
9cc4c595a8
Code Cleanup ( #2191 )
...
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Alexander Bock
d7d279ea16
Happy new year
2022-01-01 12:32:55 +01:00
Alexander Bock
87da9a27ab
Feature/path normalization ( #1674 )
...
* Path normalization (making sure there are fewer cases of '"..."'
* Using more std::filesystem::path instead of std::string
* Update Ghoul
2021-07-01 23:46:22 +02:00
Emma Broman
20519d007b
Remove hardcoded path to B-V colormap ( #1531 )
...
Also prevent future problems in reading the file (e.g. if number of lines of comments would change)
2021-03-15 13:22:41 +01:00
Emma Broman
97144df4da
Add a colored glare to exoplanet stars ( #1511 )
...
* Add possibility to multiply color to an image plane
* Add a colored glare to exoplanet stars (issue #1305 )
2021-03-02 09:30:03 +01:00
Emma Broman
fd835688b5
Add a habitable zone renderable
2021-01-26 15:09:15 +01:00
Emma Broman
4834851320
Merge branch 'master' into issue/1395 and resolve conflict
2021-01-07 11:01:20 +01:00
Alexander Bock
7004c02b86
Happy new year
2021-01-02 15:26:51 +01:00
Emma Broman
4370b26a68
Address review comments
2020-12-18 13:55:41 +01:00
Emma Broman
9898714478
Update boundary cases for habitable zone
2020-12-14 10:53:46 +01:00
Emma Broman
05651d1aa3
Add habitable zone representation for exoplanet systems
2020-12-14 10:53:46 +01:00
Emma Broman
63160768d5
Exoplanets cleanup ( #1428 )
...
* Remove name conversion to match speck file
* Instead update the speck file so that the names are consistent between files
* Tiny cleanup
* Enable visualization of systems with a subset of planets missing data
* Prevent overriding star information with non valid data
2020-12-08 20:55:10 +01:00
Emma Broman
929f5e65c6
Avoid errors caused by dots in exoplanet identifiers
2020-11-18 09:33:23 +01:00
Emma Broman
2699eb1d71
Avoid problems with apostrophes in star names
2020-10-16 13:29:39 +02:00
Emma Broman
11425dfdb7
Replace unused system rotation computation with the one that is actually used
2020-10-16 08:53:12 +02:00
Emma Broman
bef3e0d661
Test every planet for insufficient data, not just the first one
2020-10-16 08:53:12 +02:00
Emma Broman
e1b02b3c5a
Add option to add several exoplanet systems at once
2020-10-12 20:31:49 +02:00
Emma Broman
250dbcc3f1
Add task for reading the new exoplanet data in csv format
...
Also cleanup old exoplanet code a bit based on that new data
2020-10-09 12:47:02 +02:00
Emma Broman
1a5c0d3672
More cleanup
...
string_view and avoid warnings from implicit conversions
2020-09-18 14:34:06 +02:00
Emma Broman
f2b4909a32
Some cleanup of helper functions
2020-09-18 08:50:06 +02:00
Emma Broman
5671ea1463
Update copyright end year (woops)
2020-09-17 16:36:02 +02:00
Emma Broman
cef3fb69f4
Some more cleanup
2020-08-28 16:59:23 +02:00
Emma Broman
99720d95ca
Helper file for exoplanet data structure and replace magic numbers with constants
2020-08-28 16:31:48 +02:00