format engine_paths.cpp
This commit is contained in:
@@ -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"};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user