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/util/naming.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/util/naming.cpp') diff --git a/tools/util/naming.cpp b/tools/util/naming.cpp index 0ae99f6..8229c6d 100644 --- a/tools/util/naming.cpp +++ b/tools/util/naming.cpp @@ -2,6 +2,8 @@ #include +namespace com::fourisland::lingo2_archipelago { + std::string GetLetterName(std::string key, bool level2) { std::ostringstream lettername_s; lettername_s << key; @@ -9,3 +11,5 @@ std::string GetLetterName(std::string key, bool level2) { return lettername_s.str(); } + +} // namespace com::fourisland::lingo2_archipelago -- cgit 1.4.1