From c88f4184eaa48efbdc69e76eb3c8a4a206434ad3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 16 Aug 2025 14:52:24 -0400 Subject: Started writing a data validator Currently, it can check whether identifiers point to non-existent objects, or whether multiple objects share the same identifier. It can also determine whether an identifier is underspecified (e.g. a door doesn't specify a room, or a global connection doesn't specify a map). --- tools/validator/validator.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/validator/validator.h (limited to 'tools/validator/validator.h') diff --git a/tools/validator/validator.h b/tools/validator/validator.h new file mode 100644 index 0000000..b710429 --- /dev/null +++ b/tools/validator/validator.h @@ -0,0 +1,12 @@ +#ifndef TOOLS_VALIDATOR_VALIDATOR_H_ +#define TOOLS_VALIDATOR_VALIDATOR_H + +namespace com::fourisland::lingo2_archipelago { + +struct CollectedInfo; + +void ValidateCollectedInfo(const CollectedInfo& info); + +} // namespace com::fourisland::lingo2_archipelago + +#endif /* TOOLS_VALIDATOR_VALIDATOR_H */ -- cgit 1.4.1