summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-08-24 14:32:15 -0400
committerest31 <MTest31@outlook.com>2015-09-06 11:21:26 +0200
commit645e2086734e3d2d1ec95f50faa39f0f24304761 (patch)
treef7b386b295c08d63ad5f208a543d9c5901795e5e /src/porting.h
parent31b6d2678455c0b3de7f4b97c9607388b06c8f8c (diff)
downloadminetest-645e2086734e3d2d1ec95f50faa39f0f24304761.tar.gz
minetest-645e2086734e3d2d1ec95f50faa39f0f24304761.tar.bz2
minetest-645e2086734e3d2d1ec95f50faa39f0f24304761.zip
Use CUSTOM_LOCALEDIR if specified
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/porting.h b/src/porting.h
index a4016e8d7..a86d37fbb 100644
--- a/src/porting.h
+++ b/src/porting.h
@@ -143,13 +143,18 @@ 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"
*/
std::string getDataPath(const char *subpath);
/*
- Initialize path_share and path_user.
+ Initialize path_*.
*/
void initializePaths();