Commit Graph

24 Commits

Author SHA1 Message Date
Alexander Bock 2cc5a53aaa Remove version numbers from asset files 2024-06-19 11:26:07 +02:00
Micah Acinapura 9f51549a2a Issue/2518 epicycle (#3195)
* added epicycle asset; updated trailFromEarth period and colors; added FromEarth trails to trail toggle;

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-19 13:11:32 +02:00
Micah Acinapura b1048269ae Added time reversal and sidereal actions (#3159)
* added reverse and sidereal actions

* code review updates
2024-04-16 08:34:25 +02:00
Alexander Bock 67d114755c Shifting the keybindings (closes #1055)
- Add new action to instantly toggle all trails
 - Instead of 'H', the 'T' keybind now toggles all trails
 - Shift+T instantly toggles trails
 - Instead of 'W', the 'B' toggles the blackout of the rendering
2024-02-27 20:56:50 +01:00
Alexander Bock e763aeeba9 Global pass over all actions to make most of them not local 2023-09-11 20:09:37 +02:00
Alexander Bock 57fafe48f4 Rename Lua function to bring them more in line with the function naming in C++ (#2840)
* Rename Lua function to bring them more in line with the function naming in C++
2023-08-05 19:20:08 +02:00
Micah Acinapura 1c281b2545 Remove panoramas until licenced; remove currentFocus lighting action until fixed; (#2778)
* removing panoramas until licensing is sorted

* remove current focus from planet lighting until its fixed
2023-06-14 18:46:30 -04:00
Alexander Bock 3727d5ad71 Add new action to toggle dwarf planet visibility (closes #2674) 2023-06-01 10:45:41 +02:00
Alexander Bock 705c898ccd Asset File cleanup (#2713)
* Updating all assets to new coding style
* Cleaning up asset files
* Moving default_actions and default_keybindings files
* Changing procedural globes to explicitly specified globes
* Move Spice loading explicitly to the initialize part and also deinitialize
* Removing unused asset files
  * Removing asset_helper
  * Removing scale_model_helper asset
  * Removing script_scheduler_helper
  * Removing testing_keybindings
  * Remove procedural_globe
2023-05-28 17:23:20 +02:00
Micah Acinapura 5a9bb529f3 Feature/night sky items (#2613)
* added night sky items and camera event
---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-04-16 17:29:48 -04:00
Micah Acinapura 2caf747bc7 Added action for global lighting of all globes (closes #2494) 2023-04-13 13:48:15 +02:00
Alexander Bock 3379393af7 Harmonize capitalization of action names (#2579)
* Harmonize capitalization of action names (closes #2215)
* Fix confusion between delta time and simulation time (closes #2536)
2023-04-05 17:58:18 +02:00
Alexander Bock 80e2aaf564 Remove whitespaces at the end of files, ' and - characters 2023-04-05 16:58:45 +02:00
Adam Rohdin 28c5718959 Issue/2408: Fixed #2491 and #2476
* Moved actions that were defined in profiles to assets and updated the keybindings in the profiles

* #2476 Added actions to turn on/off minor moons and their trails (for-all and per-planet)
2023-02-10 17:04:49 +01:00
Alexander Bock 44e5b17ec9 Global pass over the code to remove trailing spaces 2022-11-22 21:06:52 +01:00
Alexander Bock 4ae50bbcb8 Fix issue with the Show All Trails / Hide All Trails action when no trails with specific capitalization are present in the profile 2022-11-21 19:22:01 +01:00
Alexander Bock 163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock 970536998a Multiple small fixes
- 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
2022-05-06 16:13:21 -04:00
Micah Acinapura 5c3aef96c1 Remove orion neblua from base; updatedpaths for actions (#2088)
* Removed Orion nebula from base and added to default_full profile
* Updated paths for actions
* Added debug action for undoing event fading

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2022-05-06 13:33:44 -04:00
Micah Acinapura 7d480552a9 Issue/1814 (#2077)
* Added all trail toggle
* Added actions for trails and planets/moons
* Added planet lighting assetd; updated action paths
* Add mars layers actions
* Added new layers from Carter
* Cleaned up trail action names, cleaned up some default keybindings

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2022-05-05 19:08:58 -07:00
Alexander Bock f4115f9bea Use the new fade property for fading in the example events 2022-04-06 00:16:15 +02:00
Alexander Bock 8b74493d96 Removing the asset_helper file (#1868)
- Remove the asset_helper file and call the onInitialize and onDeinitialize functions directly
 - Small compile fix on Windows
 - Removes the need for the registerIdentifierWithMeta function by automatically doing that for all asset.export statements
 - Allow the passing of either identifiers (as before) or entire tables to the removeSceneGraphNode, removeScreenSpaceRenderable, deleteLayer, removeAction, and export methods. In that case, the Identifier key from the table is extracted and used instead
2022-02-01 23:44:36 +01:00
Micah Acinapura 56460f818e Feature/asset meta update part2 (#1855)
* changes to asset/loader/meta to support adding nodes created at runtime

* update assets meta.

* update tle helper and gui to work with changes

* fixes #1840

* group titan trail and atmosphere with globe

* license for magnetosphere

Co-authored-by: ElonOlsson <olssonelon@gmail.com>
2022-01-31 15:58:41 -05:00
Alexander Bock 76dd45e5ce Event System (#1741)
* Add implementation of the EventEngine to handle global event chains
* Add properties to SceneGraphNodes to determine two distance radii for camera-based events
2021-10-11 21:53:00 +02:00