about summary refs log tree commit diff stats
path: root/tools/util/naming.cpp
blob: 8229c6deeacd25196b895df43825c7343da0381c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "naming.h"

#include <sstream>

namespace com::fourisland::lingo2_archipelago {

std::string GetLetterName(std::string key, bool level2) {
  std::ostringstream lettername_s;
  lettername_s << key;
  lettername_s << (level2 ? "2" : "1");

  return lettername_s.str();
}

}  // namespace com::fourisland::lingo2_archipelago
ss="w"> ProcessGodotData(repodir, info); ValidateCollectedInfo(info); } } // namespace } // namespace com::fourisland::lingo2_archipelago int main(int argc, char** argv) { if (argc != 3) { std::cout << "Incorrect argument count." << std::endl; std::cout << "Usage: validator [path to map directory] [path to Lingo 2 repository]" << std::endl; return 1; } std::string mapdir = argv[1]; std::string repodir = argv[2]; com::fourisland::lingo2_archipelago::Run(mapdir, repodir); return 0; }