mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Move images to data/textures and fix some path stuff; hope that installation still works
This commit is contained in:
@@ -125,6 +125,11 @@ void signal_handler_init(void)
|
||||
std::string path_data = ".." DIR_DELIM "data";
|
||||
std::string path_userdata = "..";
|
||||
|
||||
std::string getDataPath(const char *subpath)
|
||||
{
|
||||
return path_data + DIR_DELIM + subpath;
|
||||
}
|
||||
|
||||
void pathRemoveFile(char *path, char delim)
|
||||
{
|
||||
// Remove filename and path delimiter
|
||||
|
Reference in New Issue
Block a user