mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use CUSTOM_LOCALEDIR if specified
This commit is contained in:
parent
31b6d26784
commit
645e208673
4 changed files with 16 additions and 4 deletions
|
@ -142,6 +142,11 @@ extern std::string path_share;
|
|||
*/
|
||||
extern std::string path_user;
|
||||
|
||||
/*
|
||||
Path to gettext locale files
|
||||
*/
|
||||
extern std::string path_locale;
|
||||
|
||||
/*
|
||||
Get full path of stuff in data directory.
|
||||
Example: "stone.png" -> "../data/stone.png"
|
||||
|
@ -149,7 +154,7 @@ extern std::string path_user;
|
|||
std::string getDataPath(const char *subpath);
|
||||
|
||||
/*
|
||||
Initialize path_share and path_user.
|
||||
Initialize path_*.
|
||||
*/
|
||||
void initializePaths();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue