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