Skip to content

Commit

Permalink
postmerge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
A-lex-Ra committed Dec 25, 2023
1 parent 4d8c856 commit 1dae8c2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/util/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@
#include "../typedefs.h"

namespace platform {
const std::string SETTINGS_FILE = "settings.toml";
const std::string CONTROLS_FILE = "controls.json";
const std::string DEFAULT_LOCALE = "en_EN";
}

using std::filesystem::path;


path platform::get_settings_file() {
return path(SETTINGS_FILE);
}

path platform::get_controls_file() {
return path(CONTROLS_FILE);
}

/*System locale to engine locale mapping*/
std::string platform::get_locale_by_lang(std::string lang) {
if (lang == "ru") {
Expand All @@ -35,7 +22,7 @@ std::string platform::get_locale_by_lang(std::string lang) {
#ifdef WIN32
#include <Windows.h>

#include "../util/stringutil.h"
#include "./stringutil.h"

void platform::configure_encoding() {
// set utf-8 encoding to console output
Expand Down

0 comments on commit 1dae8c2

Please sign in to comment.