* Use built-in toJSON converter instead of manually creating the string. Also removes the ability to create fisheye configuration files from the Lua script directly
* Fix a reference to a deprecated and renamed function in navigationstate docs
* Review documentation for scripts defined in .lua files
And utilize new markdown functionality
* Update renderable box grid size specs
So that it can have a size less than 1, and throws a specification error when the size is given as negative
* Fix some issues with the gaia filtering scripts
* Try adding param documentation to the lua script documentation
It works!
* Utiliize mroe markdown features in the updated documentations
* Add function parameter info and make small updated to gaia filtering functions
* Replace a long parameter info in description with `param` description
* Update usage examples
* Add example of how to create debug axes for the current SGN
* 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>
* remove code for controlling group sorting in ImGui
We only use this for debug and the sorting here is no longer relevant
* Add feature to add custom ordering to UI groups
* Tiny cleanup
* Add numerical ordering for night sky planets
* Update Lua function name and create an event when ordering updated
* Set top-level ordering
* Add function documentation
* Add a custom ordering that previously was hardcoded in UI
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Rename GUI ordering function
* Update GUI hash
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Make it possible to query a propertyowner by uri with the getpropertytopic
* Remove automatic reloading of ui from drag and drop script
* Add function for uri for propertyowners
* Add uri to the to_json for the propertyowner
* Add comment for the propertyOwner function and update the comment for the property function to clearer distinguish between uris and identifiers
* Go back to the old events but with uris instead as their member
* Apply feedback from PR
* Address PR comments
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Add the option to add geojson components to globes, from geojson files. One geojson file creates one GeoJsonComponent, which in turn may contain multiple GlobeGeometryFeatures
Geojson is a format that supports points, lines, and polygons. In addition to the basic functionality, extra features have been added that will long-term allow rendering the geometry needed to represent KML files (another format for geospatial geometry data). Here are links to references for both formats:
Geojson: https://geojson.org/
KML: https://developers.google.com/kml/documentation/kmlreference
data/assets/examples/geojson includes some example files that I have used for testing. Any geojson file can also be added through drag-n-drop. Note however that you might need to change the AltitudeMode or HeightOffset properties for the feature to be visible.
* Add actions for zodiac constellations + some improvements
* Add fade to actions
* Add fade scripts that is able to take regex identifiers and fade screen space renderables
- Turn the planet lighting actions from mixed case to lower case
- Fix the openspace.rebindKey Lua function which did not work before
- Fix the openspace.downloadFile function which would fail when not waiting for the the result
- Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency
- Remove the openspace.saveLastChangeToProfile function
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add action manager to handle actions in replacement of keyboard shortcuts
* Implement new Action concept
* Remove the shortcutscomponent as it is no longer needed
* Update profile version from 1.0 to 1.1
* Add action dialog
* Restructure of key specification in keys.h
* Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists