diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-09 11:51:20 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-09 11:51:20 -0400 |
| commit | 9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6 (patch) | |
| tree | 6d58ffe2e9a60eac681b22b0cb0bd03baf74990c /tools/datapacker/container.h | |
| parent | 3fcc676cd3b9b3b24a8755612a459d498879b1df (diff) | |
| download | lingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.tar.gz lingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.tar.bz2 lingo2-archipelago-9ca8681ca5f134d65eaa4b5ae68d57ba67fe98d6.zip | |
Added support for masteries
Also assigned IDs for the_butterfly, as well as already configured letters.
Diffstat (limited to 'tools/datapacker/container.h')
| -rw-r--r-- | tools/datapacker/container.h | 13 |
1 files changed, 13 insertions, 0 deletions
| diff --git a/tools/datapacker/container.h b/tools/datapacker/container.h index 571a066..652a025 100644 --- a/tools/datapacker/container.h +++ b/tools/datapacker/container.h | |||
| @@ -36,6 +36,16 @@ class Container { | |||
| 36 | std::optional<std::string> map_fallback, | 36 | std::optional<std::string> map_fallback, |
| 37 | std::optional<std::string> room_fallback); | 37 | std::optional<std::string> room_fallback); |
| 38 | 38 | ||
| 39 | uint64_t FindOrAddLetter(std::string key, bool double_); | ||
| 40 | |||
| 41 | uint64_t FindLetterByName(std::string letter_name); | ||
| 42 | |||
| 43 | uint64_t FindOrAddMastery(std::optional<std::string> map_name, | ||
| 44 | std::optional<std::string> room_name, | ||
| 45 | std::string mastery_name, | ||
| 46 | std::optional<std::string> map_fallback, | ||
| 47 | std::optional<std::string> room_fallback); | ||
| 48 | |||
| 39 | uint64_t FindOrAddDoor(std::optional<std::string> map_name, | 49 | uint64_t FindOrAddDoor(std::optional<std::string> map_name, |
| 40 | std::string door_name, | 50 | std::string door_name, |
| 41 | std::optional<std::string> map_fallback); | 51 | std::optional<std::string> map_fallback); |
| @@ -56,6 +66,9 @@ class Container { | |||
| 56 | port_id_by_map_room_port_names_; | 66 | port_id_by_map_room_port_names_; |
| 57 | std::map<std::string, std::map<std::string, std::map<std::string, uint64_t>>> | 67 | std::map<std::string, std::map<std::string, std::map<std::string, uint64_t>>> |
| 58 | panel_id_by_map_room_panel_names_; | 68 | panel_id_by_map_room_panel_names_; |
| 69 | std::map<std::string, uint64_t> letter_id_by_name_; | ||
| 70 | std::map<std::string, std::map<std::string, std::map<std::string, uint64_t>>> | ||
| 71 | mastery_id_by_map_room_mastery_names_; | ||
| 59 | std::map<std::string, std::map<std::string, uint64_t>> | 72 | std::map<std::string, std::map<std::string, uint64_t>> |
| 60 | door_id_by_map_door_names_; | 73 | door_id_by_map_door_names_; |
| 61 | }; | 74 | }; |
