1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Refactor tile.cpp/h parts except texturesource.cpp

This commit is contained in:
cx384 2024-02-27 19:03:46 +01:00 committed by SmallJoker
parent aaf77025b6
commit 879f7e9f03
5 changed files with 112 additions and 130 deletions

View file

@ -27,7 +27,7 @@ void clearTextureNameCache();
// Find out the full path of an image by trying different filename extensions.
// If failed, return "".
std::string getImagePath(std::string path);
std::string getImagePath(std::string_view path);
/* Gets the path to a texture by first checking if the texture exists
* in texture_path and if not, using the data path.