mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-27 11:05:15 -05:00
Preserve custom global fields in layouts, heal_locations, region_map_sections, and map_groups json files
This commit is contained in:
@@ -269,6 +269,12 @@ private:
|
||||
QHash<QString, QString> speciesToIconPath;
|
||||
QHash<QString, Map*> maps;
|
||||
|
||||
// Fields for preserving top-level JSON data that Porymap isn't expecting.
|
||||
QJsonObject customLayoutsData;
|
||||
QJsonObject customMapSectionsData;
|
||||
QJsonObject customMapGroupsData;
|
||||
QJsonObject customHealLocationsData;
|
||||
|
||||
// Maps/layouts represented in these sets have been fully loaded from the project.
|
||||
// If a valid map name / layout id is not in these sets, a Map / Layout object exists
|
||||
// for it in Project::maps / Project::mapLayouts, but it has been minimally populated
|
||||
|
||||
Reference in New Issue
Block a user