diff options
Diffstat (limited to 'tools/validator/validator.cpp')
-rw-r--r-- | tools/validator/validator.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/validator/validator.cpp b/tools/validator/validator.cpp index 93efdc6..c048bab 100644 --- a/tools/validator/validator.cpp +++ b/tools/validator/validator.cpp | |||
@@ -69,6 +69,11 @@ class Validator { | |||
69 | << " is not defined in the game file." << std::endl; | 69 | << " is not defined in the game file." << std::endl; |
70 | } | 70 | } |
71 | } | 71 | } |
72 | |||
73 | if (map_info.malformed_worldport_entrance) { | ||
74 | std::cout << "The worldport entrance for map " << map_name | ||
75 | << " is malformed." << std::endl; | ||
76 | } | ||
72 | } | 77 | } |
73 | 78 | ||
74 | void ValidateRoom(const RoomIdentifier& room_identifier, | 79 | void ValidateRoom(const RoomIdentifier& room_identifier, |
@@ -253,6 +258,10 @@ class Validator { | |||
253 | std::cout << " CONNECTION " << connection.ShortDebugString() | 258 | std::cout << " CONNECTION " << connection.ShortDebugString() |
254 | << std::endl; | 259 | << std::endl; |
255 | } | 260 | } |
261 | |||
262 | for (const std::string& map_name : port_info.map_worldport_entrances) { | ||
263 | std::cout << " MAP (worldport_entrance) " << map_name << std::endl; | ||
264 | } | ||
256 | } else if (port_info.definitions.size() > 1) { | 265 | } else if (port_info.definitions.size() > 1) { |
257 | std::cout << "Port " << port_identifier.ShortDebugString() | 266 | std::cout << "Port " << port_identifier.ShortDebugString() |
258 | << " was defined multiple times." << std::endl; | 267 | << " was defined multiple times." << std::endl; |
@@ -283,8 +292,7 @@ class Validator { | |||
283 | } | 292 | } |
284 | if (!port.has_rotation()) { | 293 | if (!port.has_rotation()) { |
285 | std::cout << "Port " << port_identifier.ShortDebugString() | 294 | std::cout << "Port " << port_identifier.ShortDebugString() |
286 | << " is shuffleable and missing a rotation." | 295 | << " is shuffleable and missing a rotation." << std::endl; |
287 | << std::endl; | ||
288 | } | 296 | } |
289 | } | 297 | } |
290 | } | 298 | } |