mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
audio listener configuration fix
This commit is contained in:
parent
2a77c24414
commit
75e56ebd83
6 changed files with 47 additions and 24 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#include "WorldFiles.h"
|
||||
|
||||
const fs::path SCREENSHOTS_FOLDER {"screenshots"};
|
||||
const fs::path CONTROLS_FILE {"controls.json"};
|
||||
const fs::path SETTINGS_FILE {"settings.toml"};
|
||||
|
||||
fs::path EnginePaths::getUserfiles() const {
|
||||
return userfiles;
|
||||
|
|
@ -54,6 +56,14 @@ fs::path EnginePaths::getWorldFolder(const std::string& name) {
|
|||
return getWorldsFolder()/fs::path(name);
|
||||
}
|
||||
|
||||
fs::path EnginePaths::getControlsFile() {
|
||||
return userfiles/fs::path(CONTROLS_FILE);
|
||||
}
|
||||
|
||||
fs::path EnginePaths::getSettingsFile() {
|
||||
return userfiles/fs::path(SETTINGS_FILE);
|
||||
}
|
||||
|
||||
std::vector<fs::path> EnginePaths::scanForWorlds() {
|
||||
std::vector<fs::path> folders;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue