summary refs log tree commit diff stats
path: root/tools/validator/structs.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-04 15:46:25 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-04 15:46:25 -0400
commita752ab325cf46d35a90606a354775799977dccb0 (patch)
tree66541b3ed6e820deb1d9e61cd9e10c874fb3a878 /tools/validator/structs.h
parent05d3219f4496104cdf8d96aaacbdd41f7e0dbed2 (diff)
downloadlingo2-archipelago-a752ab325cf46d35a90606a354775799977dccb0.tar.gz
lingo2-archipelago-a752ab325cf46d35a90606a354775799977dccb0.tar.bz2
lingo2-archipelago-a752ab325cf46d35a90606a354775799977dccb0.zip
[Data] Strip unnecessary AP IDs
This was causing issues in the client, specifically for The Ancient.
Diffstat (limited to 'tools/validator/structs.h')
-rw-r--r--tools/validator/structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/validator/structs.h b/tools/validator/structs.h index 717fccf..e24ed3d 100644 --- a/tools/validator/structs.h +++ b/tools/validator/structs.h
@@ -39,6 +39,7 @@ struct RoomInfo {
39 39
40struct DoorInfo { 40struct DoorInfo {
41 std::vector<HumanDoor> definitions; 41 std::vector<HumanDoor> definitions;
42 bool has_id = false;
42 43
43 std::vector<HumanConnection> connections_referenced_by; 44 std::vector<HumanConnection> connections_referenced_by;
44 std::vector<DoorIdentifier> doors_referenced_by; 45 std::vector<DoorIdentifier> doors_referenced_by;
@@ -72,6 +73,7 @@ struct ProxyInfo {
72 73
73struct PanelInfo { 74struct PanelInfo {
74 std::vector<HumanPanel> definitions; 75 std::vector<HumanPanel> definitions;
76 bool has_id = false;
75 77
76 std::string map_area_name; 78 std::string map_area_name;
77 79
@@ -83,6 +85,7 @@ struct PanelInfo {
83 85
84struct KeyholderInfo { 86struct KeyholderInfo {
85 std::vector<HumanKeyholder> definitions; 87 std::vector<HumanKeyholder> definitions;
88 bool has_id = false;
86 89
87 std::vector<DoorIdentifier> doors_referenced_by; 90 std::vector<DoorIdentifier> doors_referenced_by;
88}; 91};
@@ -91,10 +94,12 @@ using LetterIdentifier = std::tuple<char, bool>;
91 94
92struct LetterInfo { 95struct LetterInfo {
93 std::vector<RoomIdentifier> defined_in; 96 std::vector<RoomIdentifier> defined_in;
97 bool has_id = false;
94}; 98};
95 99
96struct EndingInfo { 100struct EndingInfo {
97 std::vector<RoomIdentifier> defined_in; 101 std::vector<RoomIdentifier> defined_in;
102 bool has_id = false;
98 103
99 std::vector<DoorIdentifier> doors_referenced_by; 104 std::vector<DoorIdentifier> doors_referenced_by;
100}; 105};
@@ -105,6 +110,7 @@ struct PanelNameInfo {
105 110
106struct ProgressiveInfo { 111struct ProgressiveInfo {
107 std::vector<HumanProgressive> definitions; 112 std::vector<HumanProgressive> definitions;
113 bool has_id = false;
108 114
109 std::vector<DoorIdentifier> malformed_doors; 115 std::vector<DoorIdentifier> malformed_doors;
110}; 116};