mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Move images to data/textures and fix some path stuff; hope that installation still works
This commit is contained in:
parent
2115a766f6
commit
ee8b6d3444
107 changed files with 13 additions and 11 deletions
|
@ -73,10 +73,7 @@ extern std::string path_userdata;
|
|||
Get full path of stuff in data directory.
|
||||
Example: "stone.png" -> "../data/stone.png"
|
||||
*/
|
||||
inline std::string getDataPath(const char *subpath)
|
||||
{
|
||||
return path_data + "/" + subpath;
|
||||
}
|
||||
std::string getDataPath(const char *subpath);
|
||||
|
||||
/*
|
||||
Initialize path_data and path_userdata.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue