bindings, controls.json file

This commit is contained in:
MihailRis
2023-11-19 22:37:15 +03:00
parent e3743b8463
commit 9051db3526
11 changed files with 186 additions and 22 deletions
+8 -4
View File
@@ -1,19 +1,23 @@
#include "platform.h"
#include <sstream>
#include <filesystem>
#include <iomanip>
#include <time.h>
#include "../typedefs.h"
#define SETTINGS_FILE "settings.toml"
#define CONTROLS_FILE "controls.json"
using std::string;
using std::filesystem::path;
string platform::get_settings_file() {
return SETTINGS_FILE;
path platform::get_settings_file() {
return path(SETTINGS_FILE);
}
path platform::get_controls_file() {
return path(CONTROLS_FILE);
}
#ifdef WIN32