mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
format engine_paths.cpp
This commit is contained in:
parent
8236600c93
commit
a4862a9b8a
1 changed files with 3 additions and 2 deletions
|
|
@ -22,9 +22,10 @@ enum F_F_NAME {
|
||||||
COUNT
|
COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
/// array for get file or folder name by enum `F_F_NAME`
|
/// @brief array for get file or folder name by enum `F_F_NAME`
|
||||||
|
///
|
||||||
/// example:
|
/// example:
|
||||||
// `std::filesystem::path settings = f_f_names[SETTINGS_FILE];`
|
/// `std::filesystem::path settings = f_f_names[SETTINGS_FILE];`
|
||||||
static std::array<std::string, F_F_NAME::COUNT> f_f_names {
|
static std::array<std::string, F_F_NAME::COUNT> f_f_names {
|
||||||
"screenshots", "content", "controls.toml", "settings.toml"};
|
"screenshots", "content", "controls.toml", "settings.toml"};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue