Skip to content

Save and load in e hub dashboard#166

Merged
Luc-Sol merged 8 commits intomainfrom
Save_and_Load_in_EHub_Dashboard
Sep 24, 2025
Merged

Save and load in e hub dashboard#166
Luc-Sol merged 8 commits intomainfrom
Save_and_Load_in_EHub_Dashboard

Conversation

@Luc-Sol
Copy link
Collaborator

@Luc-Sol Luc-Sol commented Sep 22, 2025

Requires engine changes in: Zenmo/zero_engine#201

Luc-Sol and others added 8 commits September 4, 2025 11:05
Replaced the keys of the hashmap for the current and future scenario with gc.p_uid. Mutable objects as keys for hashmaps are 'not done'. And these hashmaps can also easily be serialized.
- HashMaps with GridConnetions as keys have been replaced with HashMaps with Strings, using the new field p_uid in the GC. Mutable Objects should not be used as keys in HashMaps.
- f_setErrorScreen now has 2 additional arguments for X and Y offset.
- After deserialization the model loads the new coop into the configurator
- Changed the save/load checkboxes into buttons
- Added an overlay to block the rest of the screen when saving/loading
@Luc-Sol Luc-Sol merged commit 91a125f into main Sep 24, 2025
@Luc-Sol Luc-Sol deleted the Save_and_Load_in_EHub_Dashboard branch September 24, 2025 11:03
@Luc-Sol Luc-Sol restored the Save_and_Load_in_EHub_Dashboard branch September 24, 2025 11:03
@Luc-Sol Luc-Sol deleted the Save_and_Load_in_EHub_Dashboard branch September 24, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants