Commit Graph

17 Commits

Author SHA1 Message Date
Alexander Bock 2cc5a53aaa Remove version numbers from asset files 2024-06-19 11:26:07 +02:00
Alexander Bock 6fee06aa4e Reorganization of Spice file handling (#2975)
* Fix VideoTileLayer -> VideoTileProvider
* Move kernel loading into spice files
* Define Spice IDs inside assets
* General asset cleanup and organization
2023-12-12 10:57:24 +01:00
Andreas Engberg f3c4fc54db Update UrlSynchronization to limit amount of downloads (#2586) (#2933)
Limits the number of URL synchronization downloads by time stamping files for X seconds fixes (#2586). 
Also, show the amount of downloaded data as soon as the download is started fix (#2460)

* Adds time validity to UrlSynchronized files (#2586)

Updated affected asset files. Satellite asset files lasts for 24h by default now. Other assets are updated to work as before. Obs timestamp is computed using UTC time.

* Code cleanup

* Update httpsynchronization.cpp

* Applied suggestions from code review

* Update multi-line comment to `//`

* Remove accidental commas in .asset files

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Fixed PR comments + bug in .asset file

* Refactor code

* Reports downloaded data as early as possible, fixes (#2460)

* More files

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-11-14 17:08:38 +01:00
Alexander Bock b43a13d39e Merge asset.localResource and asset.syncedResource (#2906) 2023-10-19 11:59:25 +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
Alexander Bock a65409f8c4 Remove leap second kernel and planetary constants kernels (and updating it along the way) from the repository 2023-04-23 12:16:15 +02:00
Alexander Bock 44e5b17ec9 Global pass over the code to remove trailing spaces 2022-11-22 21:06:52 +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
Micah Acinapura 4ee23d461e updated generic spice kernel for more range; added barycenter trails (#2061)
* updated generic spice kernel for more range; added barycenter trails

* updated meta asset description for barycenter trails
2022-05-05 15:04:01 -04: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
Alexander Bock fdd995ba01 No longer require the filenames from a synced resource to start with a / 2021-12-28 00:10:01 +01:00
Alexander Bock fb8e80ea80 Adjust tab width for asset and task files 2021-04-28 19:19:51 +02:00
Alexander Bock 2a122f9751 Some more cleanup of empty lines 2020-10-10 12:50:38 +02:00
Micah 2e61a0ba72 start of asset meta update 2020-09-25 17:14:41 -04:00
Alexander Bock dd689b6ac1 Fix size of the logo on the loading screen
Reduce the font size on the loading screen
Add moons to Neptune and Uranus
Fix specification of Mercury
2017-12-26 17:20:06 +01:00
Alexander Bock 310bdf6be9 Completed conversion of of scene/mod files 2017-12-23 16:39:27 +01:00
Emil Axelsson ab52504ec8 Restructure asset files 2017-12-18 18:55:12 +01:00