mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
bindings, controls.json file
This commit is contained in:
parent
e3743b8463
commit
9051db3526
11 changed files with 186 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue