1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 01:25:20 +02:00

Use CUSTOM_LOCALEDIR if specified

This commit is contained in:
ShadowNinja
2015-08-24 14:32:15 -04:00
committed by est31
parent 31b6d26784
commit 645e208673
4 changed files with 16 additions and 4 deletions

View File

@@ -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();