about summary refs log tree commit diff stats
path: root/tools/validator/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/validator/structs.h')
-rw-r--r--tools/validator/structs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/validator/structs.h b/tools/validator/structs.h index 17ed33a..62974a8 100644 --- a/tools/validator/structs.h +++ b/tools/validator/structs.h
@@ -27,6 +27,8 @@ struct GameNodeInfo {
27 27
28struct MapInfo { 28struct MapInfo {
29 std::map<std::string, GameNodeInfo> game_nodes; 29 std::map<std::string, GameNodeInfo> game_nodes;
30
31 std::optional<PortIdentifier> malformed_worldport_entrance;
30}; 32};
31 33
32struct RoomInfo { 34struct RoomInfo {
@@ -54,14 +56,18 @@ struct DoorInfo {
54 56
55struct PortInfo { 57struct PortInfo {
56 std::vector<HumanPort> definitions; 58 std::vector<HumanPort> definitions;
59 bool has_id = false;
57 60
58 std::vector<HumanConnection> connections_referenced_by; 61 std::vector<HumanConnection> connections_referenced_by;
62 std::vector<HumanConnection> target_connections_referenced_by;
63 std::vector<std::string> map_worldport_entrances;
59}; 64};
60 65
61struct PaintingInfo { 66struct PaintingInfo {
62 std::vector<HumanPainting> definitions; 67 std::vector<HumanPainting> definitions;
63 68
64 std::vector<HumanConnection> connections_referenced_by; 69 std::vector<HumanConnection> connections_referenced_by;
70 std::vector<HumanConnection> target_connections_referenced_by;
65 std::vector<DoorIdentifier> doors_referenced_by; 71 std::vector<DoorIdentifier> doors_referenced_by;
66}; 72};
67 73
@@ -79,6 +85,7 @@ struct PanelInfo {
79 std::string map_area_name; 85 std::string map_area_name;
80 86
81 std::vector<HumanConnection> connections_referenced_by; 87 std::vector<HumanConnection> connections_referenced_by;
88 std::vector<HumanConnection> target_connections_referenced_by;
82 std::vector<DoorIdentifier> doors_referenced_by; 89 std::vector<DoorIdentifier> doors_referenced_by;
83 90
84 std::map<std::string, ProxyInfo> proxies; 91 std::map<std::string, ProxyInfo> proxies;
@@ -101,8 +108,6 @@ struct LetterInfo {
101struct EndingInfo { 108struct EndingInfo {
102 std::vector<RoomIdentifier> defined_in; 109 std::vector<RoomIdentifier> defined_in;
103 bool has_id = false; 110 bool has_id = false;
104
105 std::vector<DoorIdentifier> doors_referenced_by;
106}; 111};
107 112
108struct PanelNameInfo { 113struct PanelNameInfo {