diff options
Diffstat (limited to 'tools/util/naming.cpp')
| -rw-r--r-- | tools/util/naming.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
| diff --git a/tools/util/naming.cpp b/tools/util/naming.cpp index 12594c5..8229c6d 100644 --- a/tools/util/naming.cpp +++ b/tools/util/naming.cpp | |||
| @@ -2,10 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | #include <sstream> | 3 | #include <sstream> |
| 4 | 4 | ||
| 5 | std::string GetLetterName(std::string key, bool double_) { | 5 | namespace com::fourisland::lingo2_archipelago { |
| 6 | |||
| 7 | std::string GetLetterName(std::string key, bool level2) { | ||
| 6 | std::ostringstream lettername_s; | 8 | std::ostringstream lettername_s; |
| 7 | lettername_s << key; | 9 | lettername_s << key; |
| 8 | lettername_s << (double_ ? "2" : "1"); | 10 | lettername_s << (level2 ? "2" : "1"); |
| 9 | 11 | ||
| 10 | return lettername_s.str(); | 12 | return lettername_s.str(); |
| 11 | } | 13 | } |
| 14 | |||
| 15 | } // namespace com::fourisland::lingo2_archipelago | ||
